dino-ge
    Preparing search index...

    Class Physics

    Utility class for collision detection between game objects.

    Index
    • Detects 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.

      Parameters

      Returns boolean

      True if the objects were colliding.