I realize this is probably too general of a request but I figured there was no harm in asking.
I came across this package recently called Local Avoidance and in all of their videos it shows off the exact functionality Iām trying to achieve in terms of moving groups of agents around other agents and encircling specific agents.
I am certain that most, if not all, of this is possible with this packageās RVO but Iāve been struggling with it for a long, long time. Considering I already bought the pro version of A*Pathfinding, I really donāt want to purchase a new package so I was wondering if you could create a tutorial or just point me in a very specific direction to achieve this kind of functionality.
Iāve been knee-deep in the local avoidance docs and itās really brought to light that Iām probably not a strong enough developer to figure all of this out on my own. If anyone has bandwidth to help me with this, Iād be happy to provide more context. To be clear, Iām not asking someone else to do the work for me, I would just love some help thinking through implementation.
Iām not sure what algorithm that package uses. From the video it doesnāt seem to be RVO, but perhaps some kind of boids implementation. I especially think that because they reference zerg, and in Starcraft 2 they use boids + a lot of tricks to get that behavior.
You may want to check out the beta version. The behavior when encircling an object (e.g. because the units that get close enough stop and become locked) has been improved in that version.
However, it may be that the other asset has a local avoidance behavior closer to what you want. Pick the best tool for the job.
Thanks for looking into this! I will check out the betaāare there separate docs for changes in the beta version?
Also, I poked around some more with that package I linked above and it turns out their entire thing is based around one method that determines āsonar avoidanceā which essentially creates a circle around your agent and scans for the best path when it encounters obstacles (I think). Hereās their docs if youāre interested, itās a short read.
I was also talking to some folks on your discord and someone brought up the concept of āCooperative Pathfindingā when it comes to RVO agents navigating around other RVO agents. The solution they came up with was tapping into the RVOController and updating the agentās path based on CalculateMovementDelta. I guess my question isāis there are more native way to achieve this kind of functionality or do is the idea that you provide us the tools and we build out custom solutions?