Jump to content
  • Advertisement
Sign in to follow this  
sheep19

Are steering behaviours enough?

This topic is 2125 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am developing a game where a player is a bird. There are other birds in the world too, some allies and some foes.

 

I am still in the early stages of the game - I am currently developing some flocking steering behaviours - but will they be enough?

 

The game will not have  closed environments like FPS games, but it will have some places where things are more confined - e.g inside a mountain.

Also, there will be missions where the NPCs will go from place to place etc. I don't want to characters stuck on mountains/rocks/trees.

 

So how do I decide if I am going to need path finding?

 

Thank you.

Share this post


Link to post
Share on other sites
Advertisement

Look at your maps. Draw a line from point A to point B. If avoiding obstacles will ever involve going away from the destination for a significant amount of time, you'll probably need pathfinding. But most likely, the birds will be able to simply veer left or right to get around things, or just go over them, so obstacle avoidance will probably cover it.

 

But steering plays nicely with pathfinding, so you could do both. Balance the priority values so birds can be some distance from the path before it becomes a significant draw, so they can maintain their flock spacing but won't drift far enough from the path to get stuck. Following the direction of the path should be pretty high, to keep the flock headed the right direction. But then trees and things become overwhelming when distance becomes small, so birds will deviate from the path and flock spacing to avoid them (and other birds will react by trying to rebalance the flock spacing, which should be pretty cool to watch)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!