/Pathfinding-Platformer-A-Star-Unity

Tilemap A* Pathfinding Platformer for Unity

Primary LanguageC#

A* Pathfinding for a 2D Tile-Based Platformer

I've stripped down the original code to the bare minimum.

Changes (for better / worse):

  • Uses tilemaps/tiles rather than instantiating an object per block
  • No finicking with the frames
  • Lerp to next node
  • Bot will clip through corners
  • Removed one-way platforms and some of the logic like checking if an obstacle is between you and the next node.

Example

Forked from: Daniel Branicki. See his tutorial