Struct NavMap::LocateOpts
Defined in File NavMap.hpp
Nested Relationships
This struct is a nested type of Class NavMap.
Struct Documentation
-
struct LocateOpts
Options for the locate functions.
hint_cid : starting triangle for walking (if provided).
hint_surface : optional surface restriction.
planar_eps : in-triangle barycentric tolerance.
height_eps : vertical tolerance when gating by AABB / fallback.
use_downward_ray : select downward or upward vertical ray fallback.
Public Members
-
std::optional<NavCelId> hint_cid
Optional triangle hint for walking.
-
std::optional<size_t> hint_surface
Optional surface hint.
-
float planar_eps = 1e-4f
In-plane barycentric tolerance.
-
float height_eps = 0.50f
Z tolerance for vertical fallback (meters)
-
bool use_downward_ray = true
Downward ray on fallback (else upward)