sujith2s
06-04-2010 19:49:21
Hi all,
I am using ogrebullet framework with ogre1.7 and bullet3d 2.76. When i try to set a scenenode as rigidbody, the rigidbody rotates around the scene without much control. i tried to control it using
when i try to use a constraint solver, i think i have to set the linear and angular factor to btvector3(1,1,1). Then it shows the same behaviour. It goes around the scene like ther is a twister
I tried to set a mass of 100 to the rigidbody. but the problem remains the same.
restitution, friction are set to 1.0.
Please help
I am using ogrebullet framework with ogre1.7 and bullet3d 2.76. When i try to set a scenenode as rigidbody, the rigidbody rotates around the scene without much control. i tried to control it using
rigidbody->setAngularFactor(btvector3(0,0,0));
ridigbody->setLinearFactor(btVector3(0,0,0));
when i try to use a constraint solver, i think i have to set the linear and angular factor to btvector3(1,1,1). Then it shows the same behaviour. It goes around the scene like ther is a twister
I tried to set a mass of 100 to the rigidbody. but the problem remains the same.
restitution, friction are set to 1.0.
Please help