Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Dribble Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float CLOSE_CONTROL_SPEED = 2.2f
 
static constexpr float FEET_METRES = 0.35f
 
static constexpr float KICK_REACH_METRES = 0.9f
 
static constexpr float TOUCH_BASE_METRES = 0.5f
 
static constexpr float TOUCH_METRES_PER_SPEED = 0.28f
 
static constexpr float MIN_TOUCH_METRES = 0.6f
 
static constexpr float MAX_TOUCH_METRES = 3.0f
 
static constexpr float TOUCH_INTERVAL_BASE = 1.25f
 
static constexpr float TOUCH_INTERVAL_PER_SPEED = 0.07f
 
static constexpr float TOUCH_INTERVAL_DRIBBLING = 0.2f
 
static constexpr float MIN_TOUCH_INTERVAL = 0.4f
 
static constexpr float MAX_TOUCH_INTERVAL = 1.2f
 
static constexpr float HEAVY_TOUCH_BASE = 0.045f
 
static constexpr float HEAVY_TOUCH_PRESSURE = 1.5f
 
static constexpr float HEAVY_TOUCH_PRESSURE_METRES = 3.0f
 
static constexpr float MIN_HEAVY_PUSH_SPEED = 2.5f
 
static constexpr float MAX_HEAVY_PUSH_SPEED = 5.0f
 
static constexpr float TAKE_ON_RANGE_METRES = 2.8f
 
static constexpr float TAKE_ON_BASE = 0.42f
 
static constexpr float TAKE_ON_SKILL = 0.6f
 
static constexpr float TAKE_ON_PACE = 0.25f
 
static constexpr float MIN_TAKE_ON = 0.1f
 
static constexpr float MAX_TAKE_ON = 0.8f
 
static constexpr float TAKE_ON_ANGLE_RADIANS = 0.5f
 
static constexpr float TAKE_ON_TOUCH_METRES = 2.4f
 
static constexpr float BEATEN_SECONDS = 1.1f
 
static constexpr float BEATEN_VELOCITY_RETAINED = 0.25f
 

Detailed Description

Dribbling: a carrier on the move pushes the ball 0.6-3 m ahead and catches it up at the next touch, so the ball is exposed between touches and a heavy touch can lose it. Defenders jockey goal-side and time their challenge for the moment the ball is away from the attacker's foot.

Member Data Documentation

◆ BEATEN_SECONDS

constexpr float MatchTuning::Dribble::BEATEN_SECONDS = 1.1f
staticconstexpr

A beaten defender is wrong-footed: momentum lost, no challenge.

◆ BEATEN_VELOCITY_RETAINED

constexpr float MatchTuning::Dribble::BEATEN_VELOCITY_RETAINED = 0.25f
staticconstexpr

◆ CLOSE_CONTROL_SPEED

constexpr float MatchTuning::Dribble::CLOSE_CONTROL_SPEED = 2.2f
staticconstexpr

Below this speed the ball is kept at the feet (close control).

◆ FEET_METRES

constexpr float MatchTuning::Dribble::FEET_METRES = 0.35f
staticconstexpr

◆ HEAVY_TOUCH_BASE

constexpr float MatchTuning::Dribble::HEAVY_TOUCH_BASE = 0.045f
staticconstexpr

◆ HEAVY_TOUCH_PRESSURE

constexpr float MatchTuning::Dribble::HEAVY_TOUCH_PRESSURE = 1.5f
staticconstexpr

◆ HEAVY_TOUCH_PRESSURE_METRES

constexpr float MatchTuning::Dribble::HEAVY_TOUCH_PRESSURE_METRES = 3.0f
staticconstexpr

◆ KICK_REACH_METRES

constexpr float MatchTuning::Dribble::KICK_REACH_METRES = 0.9f
staticconstexpr

The carrier can strike the ball only when it is this close.

◆ MAX_HEAVY_PUSH_SPEED

constexpr float MatchTuning::Dribble::MAX_HEAVY_PUSH_SPEED = 5.0f
staticconstexpr

◆ MAX_TAKE_ON

constexpr float MatchTuning::Dribble::MAX_TAKE_ON = 0.8f
staticconstexpr

◆ MAX_TOUCH_INTERVAL

constexpr float MatchTuning::Dribble::MAX_TOUCH_INTERVAL = 1.2f
staticconstexpr

◆ MAX_TOUCH_METRES

constexpr float MatchTuning::Dribble::MAX_TOUCH_METRES = 3.0f
staticconstexpr

◆ MIN_HEAVY_PUSH_SPEED

constexpr float MatchTuning::Dribble::MIN_HEAVY_PUSH_SPEED = 2.5f
staticconstexpr

◆ MIN_TAKE_ON

constexpr float MatchTuning::Dribble::MIN_TAKE_ON = 0.1f
staticconstexpr

◆ MIN_TOUCH_INTERVAL

constexpr float MatchTuning::Dribble::MIN_TOUCH_INTERVAL = 0.4f
staticconstexpr

◆ MIN_TOUCH_METRES

constexpr float MatchTuning::Dribble::MIN_TOUCH_METRES = 0.6f
staticconstexpr

◆ TAKE_ON_ANGLE_RADIANS

constexpr float MatchTuning::Dribble::TAKE_ON_ANGLE_RADIANS = 0.5f
staticconstexpr

◆ TAKE_ON_BASE

constexpr float MatchTuning::Dribble::TAKE_ON_BASE = 0.42f
staticconstexpr

◆ TAKE_ON_PACE

constexpr float MatchTuning::Dribble::TAKE_ON_PACE = 0.25f
staticconstexpr

◆ TAKE_ON_RANGE_METRES

constexpr float MatchTuning::Dribble::TAKE_ON_RANGE_METRES = 2.8f
staticconstexpr

◆ TAKE_ON_SKILL

constexpr float MatchTuning::Dribble::TAKE_ON_SKILL = 0.6f
staticconstexpr

◆ TAKE_ON_TOUCH_METRES

constexpr float MatchTuning::Dribble::TAKE_ON_TOUCH_METRES = 2.4f
staticconstexpr

◆ TOUCH_BASE_METRES

constexpr float MatchTuning::Dribble::TOUCH_BASE_METRES = 0.5f
staticconstexpr

◆ TOUCH_INTERVAL_BASE

constexpr float MatchTuning::Dribble::TOUCH_INTERVAL_BASE = 1.25f
staticconstexpr

◆ TOUCH_INTERVAL_DRIBBLING

constexpr float MatchTuning::Dribble::TOUCH_INTERVAL_DRIBBLING = 0.2f
staticconstexpr

◆ TOUCH_INTERVAL_PER_SPEED

constexpr float MatchTuning::Dribble::TOUCH_INTERVAL_PER_SPEED = 0.07f
staticconstexpr

◆ TOUCH_METRES_PER_SPEED

constexpr float MatchTuning::Dribble::TOUCH_METRES_PER_SPEED = 0.28f
staticconstexpr

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