Seek Steering Behavior with Target Direction for Group of Fighters

Posted by SebastianStehle on Game Development See other posts from Game Development or by SebastianStehle
Published on 2013-08-01T10:57:56Z Indexed on 2013/11/03 4:14 UTC
Read the original article Hit count: 324

Filed under:
|

I am implementing steering algorithms with group management for spaceships (fighters). I select a leader and assign the target positions for the other spaceships based on the target position of the leader and an offset. This works well. But when my spaceships arrive they all have a different direction. I want them to keep to look in the same direction (target - start).

I also want to combine this behavior with a minimum turning radius that is based on the speed. The only idea I have is to calculate a path for each spaceship with an point before the target position, so the ships have some time left to turn into the right position. But I dont know if this is a good idea. I guess there will be a lot of rare cases where this can cause a problem.

So the question is, if anybody knows how to solve this problem and has some (simple code) or pseudocode for me or at least some good explanation.

© Game Development or respective owner

Related posts about ai

Related posts about path-finding