Page 1 of 1

btRigidBody is not rotating about any axis.

Posted: Tue Sep 29, 2015 11:14 am
by Janzaib Masood
I have made box like bodies in ragdollDemo but the box never rotates about any axis. I can move the body from one place to another and it is colliding with other object very well.

Any suggestion , on what I am doing wrong ?

Re: btRigidBody is not rotating about any axis.

Posted: Wed Nov 18, 2015 8:12 am
by d3x0r
Janzaib Masood wrote:I have made box like bodies in ragdollDemo but the box never rotates about any axis. I can move the body from one place to another and it is colliding with other object very well.

Any suggestion , on what I am doing wrong ?
Did you solve this?
It's from not doing something like

{
btScalar mass = 1;
btVector3 fallInertia;
fallShape->calculateLocalInertia( mass, fallInertia ); // fills fallInertia
}
and setting fallInertia in the btRigidBodyConstructionInfo