Click or drag to resize

PhysicsEngineCreateFixedJoint Method (PhysicsRigidBody)

Creates a fixed joint in the physics world that constrains the specified rigid body to maintain its current position and orientation in the physics world.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public PhysicsFixedJoint CreateFixedJoint(
	PhysicsRigidBody rigidBody
)

Parameters

rigidBody
Type: Demo3D.VisualsPhysicsRigidBody
The rigid body to constrain.

Return Value

Type: PhysicsFixedJoint
The created fixed joint.
Remarks
It is advisable to use a kinematic body instead of a fixed joint where possible.
See Also