Method GetLimitedHingeRange
GetLimitedHingeRange(in PhysicsJoint)
Gets the range of motion for a PhysicsJoint created using CreateLimitedHinge(BodyFrame, BodyFrame, FloatRange) .
Declaration
public static Math.FloatRange GetLimitedHingeRange(this in PhysicsJoint joint)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsJoint | joint | The joint. |
Returns
| Type | Description |
|---|---|
| Math.FloatRange | The minimum required and maximum possible angle of rotation about the aligned axes. |