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