Jump to content

  • Log In with Google      Sign In   
  • Create Account

AI Space Pathing


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Garra   Members   -  Reputation: 103

Like
0Likes
Like

Posted 24 November 2012 - 01:40 PM

I'm working on a type of space shooter for android and needed some help with enemy AI. What I'm looking for is info on how to do things such as ship formations (making multiple ships follow a path) etc. I have worked with steering behaviors before, but I don't think it's quite what i'm looking for. I think the solution is more than likely pathing. I want ships to follow a bezier type path just like you see on nearly every space shooter. I also would like to be able to implement different types of ship formations. If someone could point me to some good resources or explain some of the logic to me I would be greatful. I've been looking around the net for a few days and haven't really found what I'm looking for.

Sponsor:

#2 ApochPiQ   Moderators   -  Reputation: 15698

Like
2Likes
Like

Posted 24 November 2012 - 04:34 PM

Steering behaviours are exactly what you want here. Following a spline is just steering, and formations can be accomplished by implementing steering behaviours that simply try to stay near some fixed offset from a "leader."

#3 Telcontar   Members   -  Reputation: 893

Like
0Likes
Like

Posted 29 November 2012 - 10:16 PM

As Apoch said: Steering behaviors. This website may be of use to you, especially the "Combined Behaviors and groups" demos.

I Create Games to Help Tell Stories | Writing Blog





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS