Represents a height field shape in the PhysX physics engine.

表示 PhysX 物理引擎中的高度场形状。

层级 (查看完整内容)

实现

属性

_destroyed: boolean = false
_id: number
_offset: Vector3 = ...
_pxGeometry: any
_pxShape: any
_scale: Vector3 = ...
_shapeFlags: ShapeFlag = ShapeFlag.SCENE_QUERY_SHAPE
filterData: pxFilterData = ...

Filter data for collision and query.

  • 0: group, 1: mask, 2: event

碰撞和查询的过滤数据。

  • 0]: 组, 1: 掩码, 2: 事件
_pxShapeID: number = 0
_shapePool: Map<number, pxColliderShape> = ...
transform: {
    rotation: Quaternion;
    translation: Vector3;
} = ...

方法