group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
MovementSystem.hpp File Reference

Shared movement system implementing the Titanfall-inspired state machine. More...

Include dependency graph for MovementSystem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  systems
 Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent).
 

Functions

void systems::runMovement (Registry &registry, float dt, const physics::WorldGeometry &world)
 Apply one tick of player movement physics to all eligible entities.
 
float systems::currentWishSpeed (const PlayerState &state)
 Determine the current ground wish speed based on movement mode and stance.
 

Detailed Description

Shared movement system implementing the Titanfall-inspired state machine.