NIF文件格式文档

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

bhkConvexVerticesShape

A convex shape built from vertices. Note that if the shape is used in
a non-static object (such as clutter), then they will simply fall
through ground when they are under a bhkListShape.

属性

名称 类型 参数 数组1 数组2 条件 说明 继承派生
继承自 NiObject
继承自 bhkRefObject
继承自 bhkSerializable
继承自 bhkShape
继承自 bhkSphereRepShape
Material HavokMaterial The shape's material.
Radius float The radius of the sphere that encloses the shape.
继承自 bhkConvexShape
继承自 bhkConvexVerticesShape
Unknown 6 Floats float 6 Unknown. Must be (0.0,0.0,-0.0,0.0,0.0,-0.0) for arrow detection to work (mind the minus signs, -0.0 is 0x80000000 in hex).
Num Vertices uint Number of vertices.
Vertices Vector4 Num Vertices Vertices. Fourth component is 0. Lexicographically sorted.
Num Normals uint The number of half spaces.
Normals Vector4 Num Normals Half spaces as determined by the set of vertices above. First three components define the normal pointing to the exterior, fourth component is the signed distance of the separating plane to the origin: it is minus the dot product of v and n, where v is any vertex on the separating plane, and n is the normal. Lexicographically sorted.

派生