Method SetRagdollPerpendicularConeRange
SetRagdollPerpendicularConeRange(ref PhysicsJoint, FloatRange)
Applies the specified range of motion to a ragdoll perpendicular cone PhysicsJoint created using CreateRagdoll(BodyFrame, BodyFrame, float, FloatRange, FloatRange, out PhysicsJoint, out PhysicsJoint).
Declaration
public static void SetRagdollPerpendicularConeRange(this ref PhysicsJoint joint, Math.FloatRange angularPlaneRange)
Parameters
Type | Name | Description |
---|---|---|
PhysicsJoint | joint | [in,out] The joint. |
Math.FloatRange | angularPlaneRange | The range of angular motion defining the cones perpendicular to the primary cone, between which the primary cone's axis may swing. This range may be asymmetrical, and is clamped to the range (-pi/2, pi/2). |