OgreBullet Scenenode to RigidBody

sujith2s
Posts: 2
Joined: Tue Nov 10, 2009 11:49 am

OgreBullet Scenenode to RigidBody

Post by sujith2s »

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

Code: Select all
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 :shock:

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 :)