|
Player12
An open source football management simulator
|
#include <match_player_rig.h>
Public Attributes | |
| Vec3 | rest |
| Vec3 | forward |
| float | yaw = 0.0f |
| float | legPhase = 0.0f |
| float | duty = 0.5f |
| float | stanceLength = 0.0f |
| float | frontReach = 0.3f |
| float | liftHeight = 0.12f |
| float | maxDrift = 0.5f |
| bool | idle = false |
| float | idleStepMetres = 0.25f |
| float | stepDuration = 0.22f |
| bool | otherStepping = false |
| float | deltaSeconds = 0.0f |
One frame of a foot's gait, in world space.
| float PlayerRig::StrideInput::deltaSeconds = 0.0f |
Simulated seconds of this frame (idle steps run on the match clock).
| float PlayerRig::StrideInput::duty = 0.5f |
Share of the cycle the foot spends on the ground.
| Vec3 PlayerRig::StrideInput::forward |
Unit horizontal direction of travel.
| float PlayerRig::StrideInput::frontReach = 0.3f |
How far ahead of the hip a foot is put down at most.
| bool PlayerRig::StrideInput::idle = false |
Standing or shuffling: feet stay down and take short timed steps.
| float PlayerRig::StrideInput::idleStepMetres = 0.25f |
Idle: step once the foot is this far from its rest point.
| float PlayerRig::StrideInput::legPhase = 0.0f |
This leg's cycle phase in [0, 2pi); stance starts at 0.
| float PlayerRig::StrideInput::liftHeight = 0.12f |
| float PlayerRig::StrideInput::maxDrift = 0.5f |
A pinned foot this far from where the gait wants it is put down again (sharp turns, playback jumps).
| bool PlayerRig::StrideInput::otherStepping = false |
The other foot is mid-step (never lift both while idle).
| Vec3 PlayerRig::StrideInput::rest |
Point on the grass under this hip at rest.
| float PlayerRig::StrideInput::stanceLength = 0.0f |
Metres the body travels while the foot is down.
| float PlayerRig::StrideInput::stepDuration = 0.22f |
| float PlayerRig::StrideInput::yaw = 0.0f |
Body facing (the boots point this way when they are put down).