Skip to content

Collider3DShape

Collider3DShape = { center: Vec3; halfExtents: Vec3; kind: "box"; } | { kind: "sphere"; radius: number; } | { halfHeight: number; kind: "capsule"; radius: number; }

Defined in: physics3d/ColliderShape3D.ts:38

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