[ODE] dBodyGetPosition Question

Jon Watte (ODE) hplus-ode at mindcontrol.org
Wed Jul 6 09:49:32 MST 2005


It gives the center of mass (which is also the center of the dGeoms, 
unless those are transformed from that center using dGeomTransform).

Also, note that the "position" part of a dMass is, for most intents and 
purposes, ignored; the center of mass is assumed by a dBody to be at the 
origin for that body.

Cheers,

                   / h+


Jon wrote:
>  
> Hi all,
> I have a quick question about the dBodyGetPosition function.  When it
> returns the position of the body, does it give the centre of the bodies
> size, or mass, or a different point?
> 
> Thanks,
> Jon
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
> 
> 


More information about the ODE mailing list