Jump to content
  • Advertisement
Sign in to follow this  

24/48 directional searches when sizes b/w agents and cells are comparable

This topic is 551 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 wonder if 24/48 directional search for turn-based pathfinding all that useful if the cell size and the agent size is comparable, consider the case where the agent is 2m by 2m and the cell size is 1m by 1m, and if I seek the surrounding neighbouring 24 cells... the first 8 cells will be the instant neighbours, and the next 16 cells are the outer ones beyond the instant ones, then the outer layer will be just 2 meters or something away from the source, but the agent itself is already 2meters wide, so the directional search won't be giving you any benefits at all. Of course, if the agent is 1m by 1m, the 2m-away cell would give you a shortcut to some unreachable cells...

Anything to add?



Edited by lucky6969b

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!