Click or drag to resize

PhysicsEngineCreateContactJoint(Visual, Visual, ContactInfo, Boolean) Method

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: 19.00.00
Syntax
C#
[ObsoleteAttribute]
public void CreateContactJoint(
	Visual visualA,
	Visual visualB,
	ContactInfo contactInfo,
	bool renderContact
)

Parameters

visualA  Visual
The first visual.
visualB  Visual
The second visual.
contactInfo  ContactInfo
The contact point.
renderContact  Boolean
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