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.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.01.00
Syntaxpublic PhysicsFixedJoint CreateFixedJoint(
PhysicsRigidBody rigidBody
)
Parameters
- rigidBody PhysicsRigidBody
- The rigid body to constrain.
Return Value
PhysicsFixedJointThe created fixed joint.
Remarks
It is advisable to use a kinematic body instead of a fixed joint where possible.
See Also