Tao.Ode SDK Documentation |
|
Ode.dBodyAddRelForceAtRelPos Method
Add force to a body using body-relative coordinates at specified relative position. The supplied position vector specifies the point at which the force is supplied in body-relative coordinates.
[Visual Basic]
Public Shared Sub dBodyAddRelForceAtRelPos( _
ByVal
body As
IntPtr, _
ByVal
fx As
Single, _
ByVal
fy As
Single, _
ByVal
fz As
Single, _
ByVal
px As
Single, _
ByVal
py As
Single, _
ByVal
pz As
Single _
)
Parameters
-
body
- A dBodyID
-
fx
- A dReal
-
fy
- A dReal
-
fz
- A dReal
-
px
- A dReal
-
py
- A dReal
-
pz
- A dReal
Remarks
Forces are accumulated on to each body, and the accumulators are zeroed after each time step. Force is applied at specified point.
See Also
Ode Class | Tao.Ode Namespace