esp::nav::HitRecord struct

Struct for recording closest obstacle information.

Public variables

Magnum::Vector3 hitPos
World position of the closest obstacle.
Magnum::Vector3 hitNormal
Normal of the navmesh at the obstacle in xz plane.
float hitDist

Variable documentation

float esp::nav::HitRecord::hitDist

Distance from query point to closest obstacle. Inf if no valid point was found.