Method GetRagdollPerpendicularConeRange
GetRagdollPerpendicularConeRange(in PhysicsJoint)
Gets the range of motion for a ragdoll perpendicular cone PhysicsJoint created using CreateRagdoll(BodyFrame, BodyFrame, float, FloatRange, FloatRange, out PhysicsJoint, out PhysicsJoint).
Declaration
public static Math.FloatRange GetRagdollPerpendicularConeRange(this in PhysicsJoint joint)
Parameters
Type | Name | Description |
---|---|---|
PhysicsJoint | joint | The joint. |
Returns
Type | Description |
---|---|
Math.FloatRange | The range of angular motion defining the cones perpendicular to the primary cone, between which the primary axis may swing. This range may be asymmetrical. |