Skip to content

format

typescript
NavMeshObstacle.carvingMoveThreshold

class: NavMeshObstacle

description

The minimum distance between the new cutting position and the old cutting position of the obstacle.

The navigation grid will only be cut again at the new position if the distance between the obstacle's position and the previous cutting position on the navigation grid is greater than or equal to moveThreshold.

parameter

param_nametypedescription

reture

typedescription
numberThe minimum distance between the new cutting position and the old cutting position of the obstacle.

code example