Click or drag to resize

PhysicsEngineDestroyJoint Method

Removes the specified joint from the physics world and disposes of it.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void DestroyJoint(
	PhysicsJoint joint
)

Parameters

joint
Type: PhysicsJoint
The joint to destroy.
Remarks
It is not necessary to call this method when destroying a rigid body since any joints attached to the rigid body are automatically destroyed when the rigid body is destroyed.
See Also