Tao.Ode SDK Documentation

Ode.dBodyGetPosRelPoint Method 

This is the inverse of dBodyGetRelPointPos. It takes a point in global coordinates (x,y,z) and returns the point's position in body-relative coordinates (result).

[Visual Basic]
Public Shared Sub dBodyGetPosRelPoint( _
   ByVal body As IntPtr, _
   ByVal px As Single, _
   ByVal py As Single, _
   ByVal pz As Single, _
   ByRef result As dVector3 _
)
[C#]
public static void dBodyGetPosRelPoint(
   IntPtr body,
   float px,
   float py,
   float pz,
   ref dVector3 result
);

Parameters

body
A dBodyID
px
A dReal
py
A dReal
pz
A dReal
result
A dVector3

See Also

Ode Class | Tao.Ode Namespace