Just making sure I’m not missing something easy here. I want my units to be smart enough to walk around each other instead of slowly pushing around each other. Is there a simple way to do this with this project?
Hi
Sorry. For this to work you would have to update the graph to either make nodes below the characters unwalkable or set a tag on them. This is possible, but I don’t think you will get particularly good results. In these cases it is usually better to use some kind of steering behaviors and/or local avoidance.
Thanks for the response Aron. I’m already using local avoidance, RVO controller and rich ai. However, it’s not quite what I thought it would be (my mistake/ignorance).
Do you have a suggestion for implementing steering behavior, or leveraging your local avoidance in a way I might not be? My initial thought was to put raycasts on my unit’s faces and have them re-seek and path if the ray casts hit another unit. I feel like this will be difficult but possible. I’m open to other siggestions.
Thanks.
Hi
Sorry for the late answer.
This is a great page about steering behaviors which explains a lot more than I could do in a short forum post: http://www.red3d.com/cwr/steer/
Here is another great resource: https://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732
Thanks for the reply Aron
I’ll keep this in mind once I get to needing to implement this.