[ODE] Connected spheres creating instability against static objects?

Rafael Horbach rafael at southlogic.com
Wed Apr 13 19:10:18 MST 2005


Hello there. I'm using ode in a simulation where I have some static 
geometries as the scenery, and with a ragdoll model where there is a 
larger object that is the parent of some (4, on this example) lists of 
connected spheres... it's like a head where you have 4 "hairs" that 
consists, each one, of 5 connected spheres using universal joints. It's 
something like the ascii art below:
_______
|     |
|     |
|_____|
.     .
@     @
.     .
@     @
.     .
@     @

On the example, the '@'s are the spheres, and the dots are universal 
joints... Pretty simple.

The main object is controlled by the application, and is not involved in 
the physics simulation (I've made some small changes in ODE to allow 
this). Everything works fine, all smooth and so on, as long as the 
spheres have a minimum mass (a small mass causes instability, the 
simulation starts to tremble).

My problem happens when the spheres collide with static geometries, that 
have body 0. When this happens, the system becomes instable, trembling a 
lot, like in the new ascii below, where the left spheres are stable, and 
the right ones react accoarding with a box, but trembling :(
_______
|     |
|     |
|_____|
.     .
@     @ ________
.     ./       /
@    @/       /
.   ./       /
@  @/_______/

I've tried a lot of things to make it more stable, like changing 
erp/cfm, joints stop erp/cfm, removing joints axis constraints, changing 
the mass, etc... the big object is completely stable, there's no 
movement in the scene at all, except for the trembling on the little 
spheres. Running out of ideas here, so if anyone has a hint :)

I hope that I've made a good description of the problem, if there's more 
info that I can give to make easier for someone to figure out what's the 
problem, please ask. Thanks a lot.

Best Regards,
Rafael



More information about the ODE mailing list