跳转到内容

CompoundColliderPart3D

此内容尚不支持你的语言。

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:6

optional halfExtents?: Vec3

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:10


optional halfHeight?: number

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:13

Cylinder half-height; total capsule height is 2 * (halfHeight + radius).


kind: "box" | "sphere" | "capsule"

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:7


position: Vec3

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:8


optional radius?: number

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:11


rotation: Quat

Defined in: sdk/src/physics3d/CompoundCollider3D.ts:9