Function gamePhysicsSystem

  • Decorator to indicate that the target system will run in the physics loop.
    Physics systems handle physics calculations, collisions, and other physics-related updates.
    They typically run at a lower frequency than game logic systems to ensure accurate physics simulations.

    Returns ((target: SystemType) => void)

      • (target): void
      • Parameters

        Returns void

    @gamePhysicsSystem()
    class SomeSystem {
    }