So, I know there’s thousands of examples, but I’m trying to do something a little different.
I have multiple units running around, that will, in-face collide with eachother. Now, what I want them to do is line up side by side basically, basically a “Formation” as a RTS game would call it.
The reasion is, I don’t want them to all just run to one spot and kick the other one forward, then I would have a constant domino effect.
Also, is there a way to draw a raycast from one object to another, to make sure it’s “Visible” aswell as “In range” before I tell it to start attacking, that Way i won’t have my AI chasing down someone in the fog of war.