Tao.Ode SDK Documentation

Ode.dJointCreateContact Method 

Create a new contact joint. The joint is initially in "limbo" (i.e. it has no effect on the simulation) because it does not connect to any bodies. The joint group ID is 0 to allocate the joint normally. If it is nonzero the joint is allocated in the given joint group. The contact joint will be initialized with the given dContact structure.

[Visual Basic]
Public Shared Function dJointCreateContact( _
   ByVal world As IntPtr, _
   ByVal group As IntPtr, _
   ByRef contact As dContact _
) As IntPtr
[C#]
public static IntPtr dJointCreateContact(
   IntPtr world,
   IntPtr group,
   ref dContact contact
);

Parameters

world
A dWorldID
group
A dJointGroupID
contact

Return Value

A dJointID

See Also

Ode Class | Tao.Ode Namespace