[ODE] V0.8+ Bugs Update (Att: Bram)
b.stolk at gmail.com
Mon Sep 24 17:13:32 MST 2007
> >The function is provided so that you can translate it *to* 0,0,0
> >Does that make sense? :-)
> Ah I see, yes that makes perfect sense :)
> It was the x,y,z parameters that threw me (along with the docs). It might
> have been less confusing to use just the mass parameter in the API?
> i.e. dMassTranslate(dMass *)
No, you need xyz to specify the vector.
Basically, you do:
dMassTranslate(&m, -m.c, -m.c, -m.c)
it's like a feedback thing: you translate with the negative of the current
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE