🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

AI formation movement

Started by
1 comment, last by Gf11speed 4 years, 9 months ago

I found a video showing formation movement at around 10 seconds in. When he gives a move order, the formation moves in a narrow column facing forwards, and when it reaches destination, the formation stands still, but each soldier changes direction so that it's now a wide formation facing the enemy. What algorithms are behind this kind of movement?

 

Advertisement

It looks like the troops are moving in a certain X by Y shape facing the movement direction, and then when they reach the destination each soldier just rotates individually towards the destination.

Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

This topic is closed to new replies.

Advertisement