dacha
    Preparing search index...

    Class PhysicsSystem

    Physics system that handles 2D physics simulation and collision detection

    Manages rigid body physics and collision detection and resolution.

    Hierarchy (View Summary)

    Index
    systemName: string

    Unique name identifier for the system

    • Called with fixed timestep for physics calculations

      Returns void

    • Called when a scene becomes inactive, but still remains in memory

      Returns void

    • Called when a scene is loaded. Used to load required resources for the system such as images, fonts, etc.

      Parameters

      Returns Promise<void>

    • Called every frame with variable timestep

      Returns void