Tao.Ode SDK Documentation

Ode.dJointGetBallAnchor2 Method 

Method dJointGetBallAnchor2 Get the joint anchor point on body 2, in world coordinates. You can think of a ball and socket joint as trying to keep the result of dJointGetBallAnchor() and dJointGetBallAnchor2() the same. If the joint is perfectly satisfied, this function will return the same value as dJointGetBallAnchor to within roundoff errors. dJointGetBallAnchor2 can be used, along with dJointGetBallAnchor, to see how far the joint has come apart.

[Visual Basic]
Public Shared Sub dJointGetBallAnchor2( _
   ByVal joint As IntPtr, _
   ByRef result As dVector3 _
)
[C#]
public static void dJointGetBallAnchor2(
   IntPtr joint,
   ref dVector3 result
);

Parameters

joint
A dJointID
result
A dVector3

See Also

Ode Class | Tao.Ode Namespace