[ODE] Making Bodies Immobile

Olivier Parisy parisy at labri.fr
Tue Jul 13 17:57:03 MST 2004


Jon Watte wrote:

 >>If possible, how can I keep the body from moving without adding any
 >>fixed joints, or hacking it with infinite mass etc?
 >
 > Don't create a body for the fixed item; just create a Geom for the 
item and attach the next hinge to the fixed world (body 0).

I just tried this and got this error message:
ODE INTERNAL ERROR 2: joint can not be attached to just one body in 
dJointAttach()

My setting : a ball&socket joint linked at one side to the world,
and at the other side to a sphere.

Best regards,
Olivier.


More information about the ODE mailing list