# NIF File Format Documentation

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

## bhkPrismaticConstraint

A prismatic constraint.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
From NiObject
From bhkRefObject
From bhkSerializable
From bhkConstraint
Num Entities | uint |  |  |  |  | Number of bodies affected by this constraint. |  |
Entities | Ptr<bhkEntity> |  | Num Entities |  |  | The entities affected by this constraint. |  |
Priority | uint |  |  |  |  | Usually 1. Higher values indicate higher priority of this constraint? |  |
From bhkPrismaticConstraint
Pivot A | Vector4 |  |  |  |  | Pivot A. |  | 20.0.0.5
Rotation Matrix A | Vector4 |  | 4 |  |  | 4x4 rotation matrix, rotates the child entity. |  | 20.0.0.5
Pivot B | Vector4 |  |  |  |  | Pivot B. |  | 20.0.0.5
Sliding B | Vector4 |  |  |  |  | Describes the axis the object is able to travel along. Unit vector. |  | 20.0.0.5
Plane B | Vector4 |  |  |  |  | Plane normal. Describes the plane the object is able to move on. |  | 20.0.0.5
Sliding A | Vector4 |  |  |  |  | Describes the axis the object is able to travel along. Unit vector. | 20.2.0.7 |
Rotation A | Vector4 |  |  |  |  | Rotation axis. | 20.2.0.7 |
Plane A | Vector4 |  |  |  |  | Plane normal. Describes the plane the object is able to move on. | 20.2.0.7 |
Pivot A | Vector4 |  |  |  |  | Pivot. | 20.2.0.7 |
Sliding B | Vector4 |  |  |  |  | Describes the axis the object is able to travel along in B coordinates. Unit vector. | 20.2.0.7 |
Rotation B | Vector4 |  |  |  |  | Rotation axis. | 20.2.0.7 |
Plane B | Vector4 |  |  |  |  | Plane normal. Describes the plane the object is able to move on in B coordinates. | 20.2.0.7 |
Pivot B | Vector4 |  |  |  |  | Pivot in B coordinates. | 20.2.0.7 |
Min Distance | float |  |  |  |  | Describe the min distance the object is able to travel. |  |
Max Distance | float |  |  |  |  | Describe the max distance the object is able to travel. |  |
Friction | float |  |  |  |  | Friction. |  |
Unknown Byte 1 | byte |  |  |  |  | Unknown. Do not set this to anything over 0 as it will crash the game. | 20.2.0.7 |

### Parent Of