[ODE] freezing a moving object

Vianney Lecroart acemtp at gmail.com
Thu Jul 21 16:49:31 MST 2005


Hello,

I would like to know the best way to achieve that:

I have a static wall (without geom) and i want all moving objects that
touch the wall instantaneously freeze, as if they were glued on the
wall.

I try that: detect the collide with the wall and then setup the speed
of the object to 0 before every physic loop but it's not really good,
it still slowly fall (due to the gravity) and if another object falls
on this object, it moves.

Thank for tips

Vianney Lecroart



More information about the ODE mailing list