|
group2 0.1.0
CSE 125 Group 2
|
Driving inputs for the animation state machine. More...
#include <CharacterAnimator.hpp>
Public Attributes | |
| glm::vec3 | velocityWorld {0.0f} |
| World-space velocity (u/s). | |
| float | yawRad = 0.0f |
| Player yaw (radians). | |
| float | pitchRad = 0.0f |
| Player pitch (radians, positive = looking down). | |
| bool | grounded = false |
| Touching the ground this tick. | |
| bool | sprinting = false |
| Sprint key currently held. | |
| bool | crouching = false |
| Crouch currently held (phase 1: note-only). | |
| int | moveMode = 0 |
| MoveMode value: 0=OnFoot, 1=Sliding, 2=WallRunning, 3=Climbing, 4=LedgeGrabbing. | |
| int | wallRunSide = 0 |
| WallSide value: 0=None, 1=Left, 2=Right. | |
Driving inputs for the animation state machine.
Read from the ECS each frame. moveMode is the integer value of MoveMode from PlayerState (avoids a header dependency here).
| bool AnimationInputs::crouching = false |
Crouch currently held (phase 1: note-only).
| bool AnimationInputs::grounded = false |
Touching the ground this tick.
| int AnimationInputs::moveMode = 0 |
MoveMode value: 0=OnFoot, 1=Sliding, 2=WallRunning, 3=Climbing, 4=LedgeGrabbing.
| float AnimationInputs::pitchRad = 0.0f |
Player pitch (radians, positive = looking down).
| bool AnimationInputs::sprinting = false |
Sprint key currently held.
| glm::vec3 AnimationInputs::velocityWorld {0.0f} |
World-space velocity (u/s).
| int AnimationInputs::wallRunSide = 0 |
WallSide value: 0=None, 1=Left, 2=Right.
| float AnimationInputs::yawRad = 0.0f |
Player yaw (radians).