Skip to content

AI implement for 2D mode, which implements A* Pathfinding Project

License

Notifications You must be signed in to change notification settings

suriyun-mmorpg/UnityMultiplayerARPG_2DAI

Repository files navigation

UnityMultiplayerARPG_2DAI

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 :)

Setup Player Character Entity / Monster Character Entity

  • Remove other entity movement components
  • Attach Astar Character Movement 2D to your character entity

Setup map scene

  • Create empty game and attach Pathfinder component

  • In Graph section select Grid Graph

  • In Grid Graph setting, enable 2D and Use 2D Physics

  • Then set Width, Depth, Node size and Center, make it cover the map

  • Set Collider type to Point
  • Set Obstacle Layer Mask by select layers that you want to make it as obstacles

About

AI implement for 2D mode, which implements A* Pathfinding Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages