#include <pathfinderconfig.h>
Class that aggregates most important parameters that allow to configure the PathFinding of a Bot.
Public Attributes | |
PathFinderAbstractGraphTraversalMode | m_abstractGraphTraversalMode |
KyFloat32 | m_fromOutsideNavMeshDistance |
KyFloat32 | m_propagationBoxExtent |
KyFloat32 | m_toOutsideNavMeshDistance |
PathFinderAbstractGraphTraversalMode Kaim::PathFinderConfig::m_abstractGraphTraversalMode |
Indicates if the PathFinder is allowed to traverse AbstractGraphs or not.
default value: PATHFINDER_TRAVERSE_ABSTRACT_GRAPHS
KyFloat32 Kaim::PathFinderConfig::m_fromOutsideNavMeshDistance |
The maximum distance from the start along the X axis and along the Y axis that will be searched for NavMesh, if the start point is outside the NavMesh.
The search looks for triangles in an axis-aligned bounding box around the start point, with a half extent on the x and y axes equal to m_fromOutsideNavMeshDistance.
To disable this feature, you can set this value to 0.f Default value is 1.5f meters.
KyFloat32 Kaim::PathFinderConfig::m_propagationBoxExtent |
The PathFinder propagation is limited to a 2d oriented bounding box computed by inflating the segment going from startPos to destPos by m_propagationBoxExtent.
default value: 200.0f
KyFloat32 Kaim::PathFinderConfig::m_toOutsideNavMeshDistance |
The maximum distance from the destination along the X axis and along the Y axis that will be searched for NavMesh, if the destination point is outside the NavMesh.
The search looks for triangles in an axis-aligned bounding box around the destination point, with a half extent on the x and y axes equal to m_fromOutsideNavMeshDistance.
To disable this feature, you can set this value to 0.f Default value is 1.5f meters.