Tao.Ode SDK Documentation

Ode.dAreConnectedExcluding Method 

Return 1 if the two bodies are connected together by a joint that does not have type joint_type, otherwise return 0. joint_type is a dJointTypeXXX constant. This is useful for deciding whether to add contact joints between two bodies: if they are already connected by non-contact joints then it may not be appropriate to add contacts, however it is okay to add more contact between bodies that already have contacts.

[Visual Basic]
Public Shared Function dAreConnectedExcluding( _
   ByVal body1 As IntPtr, _
   ByVal body2 As IntPtr, _
   ByVal joint_type As Integer _
) As Integer
[C#]
public static int dAreConnectedExcluding(
   IntPtr body1,
   IntPtr body2,
   int joint_type
);

Parameters

body1
A dBodyID
body2
A dBodyID
joint_type
An int

Return Value

An int

See Also

Ode Class | Tao.Ode Namespace