Polarith AI
1.8

◆ DefaultOrientation

Vector3 DefaultOrientation = Vector3.up
inherited

Is used instead of the agent's velocity if UseVelocity is false.

The DefaultOrientation is used to determine the agent's alignment by applying the agent's rotation to this direction. The most common scenarios are Vector3.up for 2D games (agent on xy-plane) and Vector3.forward for most 3D games (agent on xz-plane).

Imprint