跳转到内容

Collider3DShape

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

Collider3DShape = object & ({ center: Vec3; halfExtents: Vec3; kind: "box"; } | { center?: Vec3; kind: "sphere"; radius: number; } | { center?: Vec3; halfHeight: number; kind: "capsule"; radius: number; })

Defined in: sdk/src/physics3d/ColliderShape3D.ts:42

A 3D collider’s geometry in entity-local space, in world units.

optional rotation?: Quat