Click or drag to resize

PhysicsEngineCreateContactJoint Method (Visual, Visual, ContactInfo, Boolean)

Note: This API is now obsolete.

Instructs the physics engine to create a contact joint for the specified contact point.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
[ObsoleteAttribute]
public void CreateContactJoint(
	Visual visualA,
	Visual visualB,
	ContactInfo contactInfo,
	bool renderContact
)

Parameters

visualA
Type: Demo3D.VisualsVisual
The first visual.
visualB
Type: Demo3D.VisualsVisual
The second visual.
contactInfo
Type: Demo3D.VisualsContactInfo
The contact point.
renderContact
Type: SystemBoolean
Whether to render the contact point.
Remarks
This function is deprecated and is not guaranteed to work correctly. Instead, it is recommended to return the correct value from the contact or collision event handler.
See Also