31#include <glm/vec3.hpp>
Locomotion mode + wall-side enums shared by PlayerVisState and PlayerSimState.
MoveMode
Movement mode — mutually exclusive locomotion states.
Definition PlayerStateEnums.hpp:17
@ OnFoot
Normal ground/air movement (walk, sprint, crouch, airborne).
Definition PlayerStateEnums.hpp:18
WallSide
Which side a wall is on relative to the player.
Definition PlayerStateEnums.hpp:27
@ None
Definition PlayerStateEnums.hpp:28
Replicated subset of player locomotion state.
Definition PlayerVisState.hpp:39
bool grappleActive
True while being pulled toward the grapple anchor.
Definition PlayerVisState.hpp:53
bool exitingClimb
Brief grace window after leaving a climb.
Definition PlayerVisState.hpp:52
MoveMode moveMode
Active locomotion mode.
Definition PlayerVisState.hpp:41
glm::vec3 grapplePoint
World-space anchor; renderer draws the cable to here.
Definition PlayerVisState.hpp:57
bool grounded
True when touching a floor surface this tick.
Definition PlayerVisState.hpp:47
int jumpCount
0 = on ground, 1 = first jump, 2 = double jumped.
Definition PlayerVisState.hpp:43
bool sprinting
True when sprint is active.
Definition PlayerVisState.hpp:49
WallSide wallRunSide
Wall side during WallRunning mode.
Definition PlayerVisState.hpp:42
bool exitingWall
Brief grace window after leaving a wall.
Definition PlayerVisState.hpp:51
bool isDead
True while the player is dead and waiting to respawn.
Definition PlayerVisState.hpp:46
bool crouching
True when crouch input is held.
Definition PlayerVisState.hpp:48
glm::vec3 groundNormal
Normal of the floor surface for foot orientation.
Definition PlayerVisState.hpp:56
bool pendingUncrouch
Deferred uncrouch (e.g. after slidehop); applied when safe.
Definition PlayerVisState.hpp:50
float targetCameraTilt
Target camera roll for wallrun lean (degrees).
Definition PlayerVisState.hpp:60