Tao.Ode SDK Documentation |
|
Ode.dBodyAddRelTorque Method
Add torque to a body using relative coordinates. This function takes a force vector that is relative to the body's own frame of reference.
[Visual Basic]
Public Shared Sub dBodyAddRelTorque( _
ByVal
body As
IntPtr, _
ByVal
fx As
Single, _
ByVal
fy As
Single, _
ByVal
fz As
Single _
)
Parameters
-
body
- A dBodyID
-
fx
- A dReal
-
fy
- A dReal
-
fz
- A dReal
Remarks
Forces are accumulated on to each body, and the accumulators are zeroed after each time step. Force is applied at body's center of mass
See Also
Ode Class | Tao.Ode Namespace