group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::diag::MovementFrame Struct Reference

One row captured around MovementSystem, before CollisionSystem/KCC. More...

#include <PhaseDiagnostic.hpp>

Public Attributes

entt::entity entity {entt::null}
glm::vec3 posBefore {0.0f}
glm::vec3 posAfter {0.0f}
glm::vec3 velBefore {0.0f}
glm::vec3 velAfter {0.0f}
int modeBefore = 0
int modeAfter = 0
bool groundedBefore = false
bool groundedAfter = false
bool inputForward = false
bool inputBack = false
bool inputLeft = false
bool inputRight = false
bool inputJump = false
bool inputCrouch = false
bool inputGrapple = false
float yaw = 0.0f
float pitch = 0.0f
bool wallFront = false
float groundDistance = 1e30f
glm::vec3 frontNormal {0.0f}
glm::vec3 frontPoint {0.0f}
PhaseFlag flags = PhaseFlag::None
char note [64] = {0}

Detailed Description

One row captured around MovementSystem, before CollisionSystem/KCC.

This complements PlayerFrame: movement is where wallrun, grapple, jump, and slide state mutate velocity.

Member Data Documentation

◆ entity

entt::entity physics::diag::MovementFrame::entity {entt::null}

◆ flags

PhaseFlag physics::diag::MovementFrame::flags = PhaseFlag::None

◆ frontNormal

glm::vec3 physics::diag::MovementFrame::frontNormal {0.0f}

◆ frontPoint

glm::vec3 physics::diag::MovementFrame::frontPoint {0.0f}

◆ groundDistance

float physics::diag::MovementFrame::groundDistance = 1e30f

◆ groundedAfter

bool physics::diag::MovementFrame::groundedAfter = false

◆ groundedBefore

bool physics::diag::MovementFrame::groundedBefore = false

◆ inputBack

bool physics::diag::MovementFrame::inputBack = false

◆ inputCrouch

bool physics::diag::MovementFrame::inputCrouch = false

◆ inputForward

bool physics::diag::MovementFrame::inputForward = false

◆ inputGrapple

bool physics::diag::MovementFrame::inputGrapple = false

◆ inputJump

bool physics::diag::MovementFrame::inputJump = false

◆ inputLeft

bool physics::diag::MovementFrame::inputLeft = false

◆ inputRight

bool physics::diag::MovementFrame::inputRight = false

◆ modeAfter

int physics::diag::MovementFrame::modeAfter = 0

◆ modeBefore

int physics::diag::MovementFrame::modeBefore = 0

◆ note

char physics::diag::MovementFrame::note[64] = {0}

◆ pitch

float physics::diag::MovementFrame::pitch = 0.0f

◆ posAfter

glm::vec3 physics::diag::MovementFrame::posAfter {0.0f}

◆ posBefore

glm::vec3 physics::diag::MovementFrame::posBefore {0.0f}

◆ velAfter

glm::vec3 physics::diag::MovementFrame::velAfter {0.0f}

◆ velBefore

glm::vec3 physics::diag::MovementFrame::velBefore {0.0f}

◆ wallFront

bool physics::diag::MovementFrame::wallFront = false

◆ yaw

float physics::diag::MovementFrame::yaw = 0.0f

The documentation for this struct was generated from the following file: