Question by
OlafsOsh · May 25, 2019 at 08:43 PM ·
2d-platformerpoint-and-click
Pathfinding for 2D sidescroller/platformer (for point-and-click purposes)
Hey!
So I need to implement point-and-click movement system onto a game, that is built as 2D sidescroller [now I have "regular" movement using Rigidbody2D. Seems like I cannot find any decent tutorials or even starting points how to do that, as majority of resources are about top-down perspective [not mentioning 3D, of course].
Maybe someone has a tip over here where to look?
Thank you!
Image just get an idea. Now the PlayerCharacter moves along the Mesh Collider, that is drawn along the terrain.
-del.jpg
(146.1 kB)
Comment
What I ended up doing for my last game was recreating it in 3d but run it in a 2d perspectiveand used the pathfinding default. If you don't want to do that you could try implementing some sort of A* I assume