Tao.Ode SDK Documentation

Ode.dJointGetUniversalAnchor2 Method 

Get the joint anchor point, in world coordinates. This returns the point on body 2. You can think of the ball and socket part of a universal 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 dJointGetUniversalAnchor to within roundoff errors. dJointGetUniversalAnchor2 can be used, along with dJointGetUniversalAnchor, to see how far the joint has come apart.

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

Parameters

joint
A dJointID
result
A dVector3

See Also

Ode Class | Tao.Ode Namespace