RichAI: Have Last set position take precedents (SetPath(..) vs Destination)


Currently if you set the Destination and then set the path of a RichAI agent, the Destination will take precedents over the path when it recalculates.

What I would find the most intuitive is that the last thing set takes precedents. So setting the path will ‘clear’ Destination, and setting Destination will clear the path.

This was a problem for me as I had an agent wandering by setting the destination, but fleeing by using the path. It took me several hours of debugging to figure out what was going on.