SiliconGhetto Engine API
    Preparing search index...

    Function setCollision

    • Set the axis-aligned collision box on an entity for physics and overlap checks.

      Parameters

      • e: number

        The entity ID

      • w: number

        Collision box width in pixels

      • h: number

        Collision box height in pixels

      Returns void