HitRecord class
Struct for recording closest obstacle information.
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, /) -> None
Properties
- hit_dist: float get set
- Distance from query point to closest obstacle. Inf if no valid point was found.
- hit_normal: magnum.Vector3 get set
- Normal of the navmesh at the obstacle in xz plane.
- hit_pos: magnum.Vector3 get set
- World position of the closest obstacle.
Method documentation
def habitat_sim. nav. HitRecord. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.