Parameters
| Name | Description | Default |
|---|---|---|
world |
| — |
Function
updateBroadphase2D(world: World): voidRebuilds Broadphase2D from every entity with EntityHandle
and PhysicsHitbox.
The system clears Broadphase2D, then pushes each entity together
with its current hitbox into the configured broadphase implementation. It
performs no overlap test itself. Register it directly with
App#registerSystem in an update schedule.