Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Establishing a path corridor in hierarchical pathfinding with turns

This topic is 1003 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

Let's say the agent is facing the opposite direction to the destination.
And the turning radius is huge, he needs to turn around to get there.
But as it turns, the hierarchical pathfinder needs to open a cluster which
is opposite way towards the destination (But I actually doing a normal search, so this won't happen).
If the abstract path doesn't cover all the areas that the agent needs to use,
Do I just ignore it, when the main search comes (the search between S and the border of S' and G' to G), the abstract path just augments
the main search, when it really has to go outside of the path corridor
I just open an extra node outside the corridor?
Is it okay to do it this way?

BTW, can I ensure the intermediate waypoints are smooth once I've precomputed all the smoothed paths in the abstract grid?
Thanks
Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites
Advertisement
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!