I have a problem which i couldn't resolve and doesn't understand why it happened,
I have my rigid bodies collision simulated smoothly initially,
but after sometimes everything fall down to the ground and at rest eventually,
then i started to repositioning them back to the initial position, it just doesn't work at all,
it seemed like it is stucked and jammed there forever.
I found that it only happened after it fall down to ground with all things look stable (without movement) then i couldn't call to change the position anymore, but before that the positions could be changed.
What is happening here?


I am getting frustrated at these for no clue had been found.
My Code is here :
Code: Select all
lpRigidObj = btRigidBody::upcast(mlpDiscreteDynamicsWorld->getCollisionObjectArray()[0]);
t.setIdentity();
t.setOrigin(btVector3(0, 30, 10));
//lpRigidObj->setWorldTransform(t);
lpRigidObj->translate(btVector3(0, 30, 10));