using bullet3-master branch on github, compiled, and linked to my ogre3d project using their OgreBullet utils.
Im trying to avoid the rigidbody capsule to go to permafrost
Youtube video : https://www.youtube.com/watch?v=-s8bJ-qcS5Y
Now when i create the rigid body i specify
Code: Select all
sinbadBody->setActivationState(DISABLE_DEACTIVATION);
Code: Select all
sinbadBody->setActivationState(4);
sinbadBody->forceActivationState(4);
sinbadBody->activate(true);
There is no way to change the state once it was changed to 2.
I display the activation state, no matter what i do, once it is set to 2 it is not changing to anything else. Highlighted in red box on the screenshot.
Code: Select all
ImGui::Text("Sinbad state : %i", sinbadBody->getActivationState());
I also tried removing/re-adding the rigidbody to the world, it remains in the same state. lol. how is this supposed to work ?
This is just the simplest rigibody sample i could find, and all i get is permafrost.