Panda PhysX

I was wondering if my own post was a bit confusing.

Anyway. I added the following line to my edited doScreenshot function:

self.boxActor=None

And also changed the forces part to this:

if self.boxActor:
   self.boxActor.addForce( force )
   self.boxActor.addTorque( torque )

Now the assertion occurs at this line: self.scene.doPhysics( dt ). I don’t know how PhysX works, but if I called remove(), shouldn’t my actor have been removed from the PhysScene and not be part of what doPhysics() is trying to do? You say invalidated, is doPhysics() trying to do physics calculations on my invalidated actor?

I’m sorry if I am bothering you, and thanks for the help, so far.