Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Warp(newPosition: Vector3): bool;
bool Warp(Vector3 newPosition);
def Warp(newPosition as Vector3) as bool

Parameters

newPositionNew position to warp the agent to.

Description

Warps agent to the provided position.

Returns true if successful, otherwise returns false.