btRgidBody goes to deactivation state seconds after application starts, no matter what.
Posted: Fri Jun 17, 2022 7:11 am
Hi,
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
This is executed when i press a key, even i added it to the rendering loop, changes absolutely nothing.
rigidbody keeps going to state 2, after a few seconds, and cant interact anymore with it.
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.
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.
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.