Method GetLimitedDistanceRange
GetLimitedDistanceRange(in PhysicsJoint)
Gets the range of motion for a PhysicsJoint created using CreateLimitedDistance(float3, float3, FloatRange) .
Declaration
public static Math.FloatRange GetLimitedDistanceRange(this in PhysicsJoint joint)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsJoint | joint | The joint. |
Returns
| Type | Description |
|---|---|
| Math.FloatRange | The minimum required distance and maximum possible distance between the two anchor points. |