Function IAstarAI.FinalizeMovement

FinalizeMovement (Vector3 nextPosition, Quaternion nextRotation)

Move the agent.

Public
void FinalizeMovement (

Vector3

nextPosition

Quaternion

nextRotation

)

Move the agent.

To be called as the last step when you are handling movement manually.

The movement will be clamped to the navmesh if applicable (this is done for the RichAI movement script).

See

MovementUpdate for a code example.