Making object immovable

Post Reply
migdalskiy
Posts: 2
Joined: Thu Sep 18, 2008 1:44 am

Making object immovable

Post by migdalskiy »

What's the best way to make an object immoveable? When I constrain 2 objects, and make one of them immoveable by body->setMassProps(0.0f, btVector3(0,0,0)); I get inherently unstable system for some reason. I tried pinning the head of the ragdoll in the GenericJointDemo this way, and the ragdoll explodes when I try to swing it by the arm or leg.

Is there some other way to make an object immoveable in this situation? Are there special considerations for the case of constrained objects?

Thanks,
Sergiy
Post Reply