Method SetPrismaticRange
SetPrismaticRange(ref PhysicsJoint, FloatRange)
Applies the specified range of motion to a PhysicsJoint created using CreatePrismatic(BodyFrame, BodyFrame, FloatRange) .
Declaration
public static void SetPrismaticRange(this ref PhysicsJoint joint, Math.FloatRange distanceOnAxis)
Parameters
Type | Name | Description |
---|---|---|
PhysicsJoint | joint | [in,out] The joint. |
Math.FloatRange | distanceOnAxis | The minimum required and maximum possible distance between the two anchor points along their aligned axes. |