format
typescript
NavMeshAgent.baseOffsetclass: NavMeshAgent
description
The offset of the agent relative to the bound GameObject in the y-axis direction.
During runtime, the engine will ensure that the bottom of the cylinder representing the agent is at the same height as the navigation mesh. This parameter can be adjusted to change the height of the bound GameObject from the ground.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The offset of the agent relative to the bound GameObject in the y-axis direction. |
