So Im fairly new to making 2D games. Im making a top down game in 2D, and am attempting to create a point-and-click movement system. I will also have enemy sprites that move around the map, so I figured a NavMesh would be ideal. However, I am dynamically generating my map and can’t figure out how to create a NavMesh at runtime. I have imported the NavMeshComponents off unitys github, but cant seem to make it work with sprites. Is there a way to make this work or a better method than a navmesh?
Hi,
Unity does not support 2d navmesh out of box. Use this component GitHub - h8man/NavMeshPlus: Unity NavMesh 2D Pathfinding
It works with sprites, tiles and colliders
1 Like