[ODE] dCreateBox() inputs halfsizes?
Russ Smith
russ at q12.org
Wed Dec 12 13:27:02 2001
> So I'm assuming that although dMassTranslate() exists, and struct
> dMass includes a 'dVector4 c' for the CoM, this isn't used yet?
correct. the COM must still be (0,0,0) in the mass parameters you
set on a body. this limitation will be fixed ... whenever.
but right now, to offset the COM you can simply position the body
differently and adjust the mass parameters to suit. you can get the
new inertia parameters with dMassTranslate() ... you copy only the
inertia of the resulting mass structure.
russ.
--
Russell Smith
http://www.q12.org