Function RVOController.Move

Move (Vector3 velocity)

Set the desired velocity for the agent.

Public
void Move (

Vector3

velocity

Velocity in units/second that you want the agent to move with.

)

Set the desired velocity for the agent.

This is assumed to stay the same until something else is requested (as opposed to being reset every frame).

Note

In most cases the SetTarget method is better to use. What this will actually do is call SetTarget with (position + velocity). See the note in the documentation for IAgent.SetTarget about the potential issues that this can cause (in particular that it might be hard to get the agent to stop at a precise point).