Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Move(Vector3)

Apply relative movement to current position.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public void Move(Vector3 offset)

Parameters

offset

The relative movement vector.

Remarks

If the agent has a path it will be adjusted.