Add Avoidance Velocity to Steering Target

Is there a way I can add the local avoidance velocity offset to a direction vector IE if I’m setting the direction vector of a character that uses a different Movement System (the system from Motion Matching for Unity)? Thanks :slight_smile:

Hi

You can use the RVOController component from your own script, instead of via a built-in movement script, if that’s what you want: take a look at the example code at RVOController - A* Pathfinding Project

The local avoidance system does not supply an offset, it supplies the velocity it wants your agent to move with.

Ah okay, I was thinking RVO did way more than it was actually doing in terms of movement with things like SetTarget/ Move. Example code in the script is perfect also. Thanks a bunch :slight_smile: