Api > NavMeshAgent > Move()
NavMeshAgent.Move(Vector3 offset)⚓︎
Apply relative movement to current position.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
offset | Vector3 | The relative movement vector. |
Usage⚓︎
---@type NavMeshAgent
local navmeshagent;
---@type Vector3
local offset;
navmeshagent.Move(offset)
Extra Detail⚓︎
If the agent has a path it will be adjusted.