Penetration depth (positive = overlapping)
First entity in the collision
Second entity in the collision
Layer of the first entity
Layer of the second entity
Contact normal X, pointing from entityA toward entityB
Contact normal Y, pointing from entityA toward entityB
Event fired when two entities collide.
Normal components are flattened (
normalX/normalY) rather than nested in a sub-object to avoid a per-event allocation in the collision hot path.