Collider
constCollider:Trait<{collides: () => readonlyCollisionLayer[];kind: () =>BodyKind;shape: () =>ColliderShape;size: () =>Vector3; }>
Defined in: packages/engine/src/gameplay/physics/traits.ts:135
The body an entity that is not a walker has in the Rapier world. size
is the shape’s full extents in metres: a box’s sides, a sphere’s
diameter in x, a capsule’s diameter in x and height in y. A hull reads
no size: its points are its HullPoints. collides lists the layers
its contacts test against; the body itself stands in Props.