Method SetLimitedHingeRange
SetLimitedHingeRange(ref PhysicsJoint, FloatRange)
Applies the specified range of motion to a PhysicsJoint created using CreateLimitedHinge(BodyFrame, BodyFrame, FloatRange) .
Declaration
public static void SetLimitedHingeRange(this ref PhysicsJoint joint, Math.FloatRange angularRange)
Parameters
Type | Name | Description |
---|---|---|
PhysicsJoint | joint | [in,out] The joint. |
Math.FloatRange | angularRange | The minimum required and maximum possible angle of rotation about the aligned axes. |