# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## RagdollDescriptor

This constraint defines a cone in which an object can rotate. The shape of the cone can be controlled in two (orthogonal) directions.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
Pivot A | Vector4 |  |  |  |  | The point where the constraint is attached to its parent rigidbody. |  | 20.0.0.5
Plane A | Vector4 |  |  |  |  | Defines the orthogonal plane in which the body can move, the orthogonal directions in which the shape can be controlled (the direction orthogonal on this one and Twist A). |  | 20.0.0.5
Twist A | Vector4 |  |  |  |  | Central directed axis of the cone in which the object can rotate. Orthogonal on Plane A. |  | 20.0.0.5
Pivot B | Vector4 |  |  |  |  | The point where the constraint is attached to the other rigidbody. |  | 20.0.0.5
Plane B | Vector4 |  |  |  |  | Defines the orthogonal plane in which the shape can be controlled (the direction orthogonal on this one and Twist B). |  | 20.0.0.5
Twist B | Vector4 |  |  |  |  | Central directed axis of the cone in which the object can rotate. Orthogonal on Plane B. |  | 20.0.0.5
Twist A | Vector4 |  |  |  |  | Central directed axis of the cone in which the object can rotate. Orthogonal on Plane A. | 20.2.0.7 |
Plane A | Vector4 |  |  |  |  | Defines the orthogonal plane in which the body can move, the orthogonal directions in which the shape can be controlled (the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Motor A | Vector4 |  |  |  |  | Defines the orthogonal directions in which the shape can be controlled (namely in this direction, and in the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Pivot A | Vector4 |  |  |  |  | Point around which the object will rotate. Defines the orthogonal directions in which the shape can be controlled (namely in this direction, and in the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Twist B | Vector4 |  |  |  |  | Central directed axis of the cone in which the object can rotate. Orthogonal on Plane B. | 20.2.0.7 |
Plane B | Vector4 |  |  |  |  | Defines the orthogonal plane in which the body can move, the orthogonal directions in which the shape can be controlled (the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Motor B | Vector4 |  |  |  |  | Defines the orthogonal directions in which the shape can be controlled (namely in this direction, and in the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Pivot B | Vector4 |  |  |  |  | Defines the orthogonal directions in which the shape can be controlled (namely in this direction, and in the direction orthogonal on this one and Twist A). | 20.2.0.7 |
Cone Max Angle | float |  |  |  |  | Maximum angle the object can rotate around the vector orthogonal on Plane A and Twist A relative to the Twist A vector. Note that Cone Min Angle is not stored, but is simply minus this angle. |  |
Plane Min Angle | float |  |  |  |  | Minimum angle the object can rotate around Plane A, relative to Twist A. |  |
Plane Max Angle | float |  |  |  |  | Maximum angle the object can rotate around Plane A, relative to Twist A. |  |
Twist Min Angle | float |  |  |  |  | Minimum angle the object can rotate around Twist A, relative to Plane A. |  |
Twist Max Angle | float |  |  |  |  | Maximum angle the object can rotate around Twist A, relative to Plane A. |  |
Max Friction | float |  |  |  |  | Maximum friction, typically 0 or 10. In Fallout 3, typically 100. |  |
Enable Motor | bool |  |  |  |  | Unknown | 20.2.0.7 |
Motor | MotorDescriptor |  |  |  | enableMotor | Unknown. | 20.2.0.7 |

### Found In

- bhkMalleableConstraint
- bhkRagdollConstraint