AI implement for 2D mode, which implements A* Pathfinding Project
Their package files will not included in this repository, visit their site to download it :)
- Remove other entity movement components
- Attach
Astar Character Movement 2Dto your character entity
- Create empty game and attach
Pathfindercomponent
- In
Graphsection selectGrid Graph
- In
Grid Graphsetting, enable2DandUse 2D Physics
- Then set
Width,Depth,Node sizeandCenter, make it cover the map
- Set
Collider typetoPoint - Set
Obstacle Layer Maskby select layers that you want to make it as obstacles




