Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Pathfinding for 2D sidescroller (for point-and-click purposes)

Discussion in '2D' started by OlafsOsh, May 25, 2019.

  1. OlafsOsh

    OlafsOsh

    Joined:
    Jul 10, 2018
    Posts:
    61
    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.
     

    Attached Files: