[ODE] rotating a set of bodies in concert

Keith Wiley kwiley at cs.unm.edu
Tue Nov 15 16:18:41 MST 2005


bump.  Any ideas?

On Mon, 14 Nov 2005, Keith Wiley wrote:

> I have a set of dBody objects, not dGeom objects and I would like to rotate 
> them all into a new configuration, maintaining their relative locations. 
> Basically, have a chain composed of long slender rectangles (or cylinders), 
> attached end to end with ball joints, thus, a nice little chain.  It works 
> well.  To construct the chain with the links properly placed relative to one 
> another before creating the joints, I lay the chain out cleanly on a cardinal 
> axis, it just makes things easier.  After constructing the chain, I need to 
> rotate the whole thing into position.  If the links were dGeoms, I could add 
> them to a single dBody and rotate the body as a whole, but the links are 
> individual dBodies.
>
> How do I do this?

________________________________________________________________________
Keith Wiley         kwiley at cs.unm.edu         http://www.unm.edu/~keithw

"Yet mark his perfect self-contentment, and hence learn his lesson,
that to be self-contented is to be vile and ignorant, and that to
aspire is better than to be blindly and impotently happy."
                                            --  Edwin A. Abbott, Flatland
________________________________________________________________________



More information about the ODE mailing list