StaticcheckDetects and resolves a contact when both collision masks allow it. Emits the legacy collision event on both bodies. Lifecycle events are tracked by PhysicsSystem across fixed updates.
First object.
Second object.
True if the objects were colliding.
StaticgetChecks if two game objects are colliding.
First object.
Second object.
A manifold if colliding, else null.
StaticraycastReturns the nearest boundary hit on a finite world-space segment. If the origin is strictly inside a fixture, the first exit is returned.
StaticraycastReturns the first boundary hit per fixture, sorted by distance and then input order.
Utility class for collision detection between game objects.