Method CreateLimitedDOF
CreateLimitedDOF(RigidTransform, bool3, bool3)
Create a LimitedDegreeOfFreedom joint.
Declaration
public static PhysicsJoint CreateLimitedDOF(RigidTransform offset, bool3 linearLocks, bool3 angularLocks)
Parameters
Type | Name | Description |
---|---|---|
RigidTransform | offset | Specifies a target point and orientation in the space of body B. |
bool3 | linearLocks | Specifies which linear axes are constrained. |
bool3 | angularLocks | Specifies which angular axes are constrained. |
Returns
Type | Description |
---|---|
PhysicsJoint | The new limited degree of freedom. |