Click or drag to resize

PhysicsEngineCreateContactJoint Method (PhysicsBody, PhysicsBody, 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(
	PhysicsBody bodyA,
	PhysicsBody bodyB,
	ContactInfo contactInfo,
	bool renderContact
)

Parameters

bodyA
Type: Demo3D.VisualsPhysicsBody
The first physics body.
bodyB
Type: Demo3D.VisualsPhysicsBody
The second physics body.
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