btRigidBody is not rotating about any axis.

Post Reply
Janzaib Masood
Posts: 5
Joined: Fri Aug 14, 2015 11:50 am

btRigidBody is not rotating about any axis.

Post by Janzaib Masood » Tue Sep 29, 2015 11:14 am

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 ?

d3x0r
Posts: 51
Joined: Tue Dec 11, 2012 9:59 pm

Re: btRigidBody is not rotating about any axis.

Post by d3x0r » Wed Nov 18, 2015 8:12 am

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

Post Reply