[ODE] vector force
elekis at gmail.com
Fri Feb 2 10:14:25 MST 2007
noob in ode, I try to make a attraction between 2 object. (witch consist of
gluing a force on the second object.)
the only function I found is dBodyAddForce (Box,a,b,c);.
but we have to calculate the a,b,c.
is there any function like that putForce(BoxA,boxB,10) who put a force from
A to B with 10 unit???
what I mean is if
A(xa,yb,zc)// a point
B(xa,yb,zc)// a other point
force = 10 units // the force I wanna applicate on B in the direction of A;
I don't see how to calculate a, b, c for dBodyAddForce (B,a,b,c); without
sinus and cosinus.(maybe my physics is a little old)
is someone can help me?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE