[ODE] Moving an island of bodies around by setting a position

Russell Bartley russellbartley at kromestudios.com
Thu Nov 2 17:07:43 MST 2006

The dBodySetPosition is fine, as I can set each body in the island turn but,

in the ODE 0.5 manual it says:

"After setting (position/rotation) a group of bodies, the outcome of the
simulation is undefined if the new configuration is inconsistent with the
joints/constraints that are present"

Does this mean that if only one body in an island of connected bodies is
moved through dBodySetPosition(), dBodySetRotation() that during the next
world update the joint constraints will try to move all of the bodies in the
island to a position that solves the constraints? Or something worse?

I'm assuming the former, which means that if I set the position of one of
the bodies in the island each frame, then this will force the rest of the
attached bodies to follow due to the constraints.

Am I worried about nothing?  I think I'll give it a go anyway.

Also is there an update to the 0.5 docs?



----- Original Message -----
From: "Christoph Beyer" <boernerb at web.de>
To: <ode at q12.org>
Sent: Friday, November 03, 2006 9:44 AM
Subject: Re: [ODE] Moving an island of bodies around by setting a position

> use dBodySetPosition to set the position of a body.
> If you want to move a whole island, you  have to move all body in this
> island.
> Perhaps, in Ode exists such a function, i don't know
> regards
> christoph
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode

This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

More information about the ODE mailing list