Skip to main content

NavMeshAgent.Move(Vector3 offset)

Apply relative movement to current position.

Parameters:

NameTypeDescription
offsetVector3The 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.