readCollider3DShapes
readCollider3DShapes(
world,entity):Collider3DInstance[]
Defined in: physics3d/ColliderShape3D.ts:100
Every 3D collider on entity, each marked with whether it is the one the solver
ends up building. The order mirrors createBody in Physics3DSystem — box, sphere,
mesh, hull, capsule — and must keep mirroring it: a visualizer drawing a different
shape than the world collides with is worse than none.
Parameters
Section titled “Parameters”entity
Section titled “entity”number