format
typescript
NavMeshObstacle.carvingTimeToStationaryclass: NavMeshObstacle
description
The minimum stationary time for triggering obstacle carving at a new position.
When isCarveOnStationary is true, obstacle carving will only occur again on the navigation mesh if the distance between the obstacle's position and the last carving position is greater than or equal to carvingMoveThreshold and the obstacle has been stationary at the new position for a duration longer than carvingTimeToStationary.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The minimum stationary time for triggering obstacle carving at a new position. |
