resting contact

this ought to be extremely easy, but…

I’ve created a simple sphere in an environment with a little gravity.
I also have a dPlane which i use as the floor (i’ve also tried a large box).

No matter what settings i use (stepSize, surfaceMu, object densities, etc),
the sphere either falls through the floor immediately, or
comes to rest, stays completely still for a few seconds, and
then continues as if the floor has disappeared.

What gives? The truly baffling thing is that if I trace out the
position values every step, they’re constant for many many iterations
and then all-of-a-sudden start changing again. Bizzare!

source available by request – but this has GOT to be a common issue.

try setting the mass of the body after you add a geom to it - or vice versa.

The order of operations in ODE and therefore Odejava DOES matter! I will be working to improve the current situation, I have had this problem myself.

If this doesn’t work please post a code snippet of the object creation.

Will.

turned out i was using an old DLL.

DOH!

thanks – i’m moving along fairly smoothly now – odejava is the heat.
:j

glad you found the cause :slight_smile:

Will.