[ODE] ball and socket stability

Squint squint at squint.clara.co.uk
Fri May 2 13:06:01 2003


Hiya,

I have several sphere bodies which are supposed to stick together when they
meet. It doesn't really matter how, so in order to keep the constraints as
simple as possible I create a ball and socket joint between them in my
collision handling code.

It works, to a point. The resulting island is extremely unstable - they
bounce and flip all over the place. The manual doesn't explicitly state that
I can't have a CFM for ball and socket joints, but it doesn't say how to
specify it if I can.

Also, should the position of the ball joint, once created, be updated every
frame? It is specified in global coordinates which makes me wonder...

thankyou,
Squint