[ODE] Connected spheres creating instability against static
objects?
Jon Watte
hplus-ode at mindcontrol.org
Thu Apr 14 13:42:53 MST 2005
It's quite likely that your spheres are colliding against each
other, as a universal joint will not "roll" the spheres along
their touching surface, but try to "fold" the spheres into each
other.
I've done similar things (ropes created out of ccylinders that
collide with other geoms) and it works fine, assuming I give
enough clearing space between each of the geoms such that they
won't fold "into" each other.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
Rafael Horbach
Sent: Wednesday, April 13, 2005 3:10 PM
To: ODE at q12.org
Subject: [ODE] Connected spheres creating instability against static
objects?
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
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list