[ODE] dBodyGetPosition Question

mlist1 at binaryfortress.com mlist1 at binaryfortress.com
Wed Jul 6 07:24:05 MST 2005


Great - thanks for the help.  I just wanted to make sure I was using the
position properly.

Jon

>
> 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