#include <shortcuttrajectoryconfig.h>
Set of parameters used by the ShortcutTrajectory and TargetOnPathComputer classes to update Bot target on path position.
Public Attributes | |
bool | m_snapOnPath |
Setting true forces the trajectory not to shortcut when the bot is at a distance from the path which is strictly inferior to m_advancedConfig.m_snapOnPathDistance. More... | |
bool Kaim::ShortcutTrajectoryConfig::m_snapOnPath |
Setting true forces the trajectory not to shortcut when the bot is at a distance from the path which is strictly inferior to m_advancedConfig.m_snapOnPathDistance.
In this case, it computes a new position along the Path with no use of any RayCanGo. However if the Bot cannot be considered on the Path (e.g. due to Avoidance or external game events), normal shortcut applies.
default value: false