Added: 2 years ago
From: dsoltyka
Views: 3,080
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • I have implemented a similar demonstration using the Djikstra method, incorporating 'cost' into each node. Have you tried these algorithms, and if so, is there a reason why you chose A*?

  • @gangsta004 The maze is a simple collection of blocks. The maze itself is stored in a very simple 2D array. This serves two purposes. It allowed me to generate the blocks themselves, and it also acted as a set of map nodes. A* uses these nodes in order to navigate from one point to another, and avoids the need to raycast in order to find walls. The source is available on my website if you want to take a look at it.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more