Code: Select all
btCollisionObject::activate(bool forceActivation)
Code: Select all
if (forceActivation || !(m_collisionFlags & (CF_STATIC_OBJECT|CF_KINEMATIC_OBJECT)))
The only objects I try and activate or dynamic objects. The crash also seems to happen if I just check if the body is active before trying to activate it. This crashes to my code where I'm making the check.
Only odd thing I can think of is I create the rigid bodies with ISLAND_SLEEPING tag. The jitter of them moving around is to much to take.
I always leave the forceActivation bool to its default value. But setting it to true or false doesn't seem to make it not crash.