|
Player12
An open source football management simulator
|
#include <match_render_3d_tuning.h>
Static Public Attributes | |
| static constexpr float | ACCEL_LEAN = 0.05f |
| static constexpr float | MAX_ACCEL_LEAN = 0.22f |
| static constexpr float | MAX_BRAKE_LEAN = 0.18f |
| static constexpr float | STOP_DECELERATION = 3.0f |
| static constexpr float | STOP_HIP_DROP = 0.05f |
| static constexpr float | ACCEL_SMOOTHING = 8.0f |
| static constexpr float | TURN_LEAN = 0.035f |
| static constexpr float | MAX_TURN_LEAN = 0.3f |
| static constexpr float | TURN_SMOOTHING = 8.0f |
| static constexpr float | MAX_TURN_RATE = 9.0f |
| static constexpr float | TWIST_PER_TURN_RATE = 0.07f |
| static constexpr float | MAX_TWIST = 0.45f |
| static constexpr float | MAX_SIM_SECONDS = 0.25f |
Whole-body poses layered over the run cycle. Leans are radians, rates per real second; accelerations come from the simulated ground speed.
|
staticconstexpr |
Forward lean per m/s^2 of acceleration (negative when braking).
|
staticconstexpr |
Time constant of the acceleration estimate (1/s).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Longest simulated step one frame may account for (s).
|
staticconstexpr |
|
staticconstexpr |
Turn rates above this (rad/s) are snaps, not running turns.
|
staticconstexpr |
|
staticconstexpr |
Braking harder than this sits the hips down over the planted feet.
|
staticconstexpr |
|
staticconstexpr |
Sideways lean into turns per rad/s of turn rate and m/s of speed.
|
staticconstexpr |
|
staticconstexpr |
The shoulders lead a turn: twist per rad/s of turn rate, capped.