[ODE] Fwd: vector force
elekis at gmail.com
Fri Feb 2 13:09:50 MST 2007
thanks all, ist a long long time I haven't make physics
---------- Forwarded message ----------
From: elekis <elekis at gmail.com>
Date: Feb 2, 2007 6:14 PM
Subject: vector force
To: ode at ode.org
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