The MeshColliderShape class is used to create mesh colliders.

MeshColliderShape 类用于创建网格碰撞器。

层级 (查看层级一览)

属性

SHAPEORIENTATION_UPX: number = 0

Shape orientation: along the positive X-axis.

形状方向:沿 X 轴正向。

SHAPEORIENTATION_UPY: number = 1

Shape orientation: along the positive Y-axis.

形状方向:沿 Y 轴正向。

SHAPEORIENTATION_UPZ: number = 2

Shape orientation: along the positive Z-axis.

形状方向:沿 Z 轴正向。

访问器

方法