Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRender3DTuning::Gait Struct Referencefinal

#include <match_render_3d_tuning.h>

Classes

struct  Shape
 

Static Public Attributes

static constexpr Shape WALK {1.4f, 0.34f, 0.42f, 0.28f, 0.2f, 0.03f, 0.018f}
 
static constexpr Shape JOG {4.0f, 0.52f, 0.95f, 0.55f, 0.95f, 0.1f, 0.042f}
 
static constexpr Shape SPRINT
 
static constexpr float SPEED_RATE = 5.0f
 

Detailed Description

Walk, jog and sprint gaits blended by ground speed (m/s): swing amplitudes (radians), lean, bob (metres) and elbow bend of each.

Member Data Documentation

◆ JOG

constexpr Shape MatchRender3DTuning::Gait::JOG {4.0f, 0.52f, 0.95f, 0.55f, 0.95f, 0.1f, 0.042f}
staticconstexpr

◆ SPEED_RATE

constexpr float MatchRender3DTuning::Gait::SPEED_RATE = 5.0f
staticconstexpr

Speed (m/s) is smoothed at this rate before choosing the blend.

◆ SPRINT

constexpr Shape MatchRender3DTuning::Gait::SPRINT
staticconstexpr
Initial value:
{7.5f, 0.78f, 1.45f, 0.95f,
1.3f, 0.26f, 0.06f}

◆ WALK

constexpr Shape MatchRender3DTuning::Gait::WALK {1.4f, 0.34f, 0.42f, 0.28f, 0.2f, 0.03f, 0.018f}
staticconstexpr

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