Player12
An open source football management simulator
Loading...
Searching...
No Matches
PlayerRig::FootState Struct Reference

#include <match_player_rig.h>

Public Attributes

Vec3 position
 
Vec3 planted
 
Vec3 liftOff
 
Vec3 stepTarget
 
float stepSeconds = 0.0f
 
float yaw = 0.0f
 
bool inStance = false
 
bool valid = false
 

Detailed Description

Memory of one foot between frames. Positions are on the grass (z = 0).

Member Data Documentation

◆ inStance

bool PlayerRig::FootState::inStance = false

◆ liftOff

Vec3 PlayerRig::FootState::liftOff

Where the current swing left the ground.

◆ planted

Vec3 PlayerRig::FootState::planted

Where the foot is pinned while in stance.

◆ position

Vec3 PlayerRig::FootState::position

◆ stepSeconds

float PlayerRig::FootState::stepSeconds = 0.0f

◆ stepTarget

Vec3 PlayerRig::FootState::stepTarget

Idle step in progress: its target and simulated seconds left.

◆ valid

bool PlayerRig::FootState::valid = false

◆ yaw

float PlayerRig::FootState::yaw = 0.0f

Facing of the boot, frozen while the foot is planted.


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