Skip to content

format

typescript
NavMeshHit.distance

class: NavMeshHit

description

Calculates the distance between a test point and a point on a grid.

parameter

param_nametypedescription

reture

typedescription
number- The distance between the test point and the grid point. (float)

code example