NIF文件格式文档

NIF对象 | 复合类型 | 枚举类型 | 基本类型 | 文件版本

bhkPrismaticConstraint

A prismatic constraint.

属性

名称 类型 参数 数组1 数组2 条件 说明 继承派生
继承自 NiObject
继承自 bhkRefObject
继承自 bhkSerializable
继承自 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?
继承自 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

派生