Click or drag to resize

PhysicsEngineCreateFixedJoint(PhysicsRigidBody) Method

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: 19.01.00
Syntax
C#
public PhysicsFixedJoint CreateFixedJoint(
	PhysicsRigidBody rigidBody
)

Parameters

rigidBody  PhysicsRigidBody
The rigid body to constrain.

Return Value

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