Search Unity

NavMesh

Discussion in 'Navigation' started by Nithinsvs, Jul 27, 2019.

  1. Nithinsvs

    Nithinsvs

    Joined:
    Sep 3, 2017
    Posts:
    29
    Hi guys, I'm making an object move to the line path created by drawing on screen through touch (Using navmesh).

    Screenshot (2).png

    My problem is - When i draw the line on non-walkable mesh (the black line), the object (the white capsule) is trying to move to that line , and as a result, moving for sometime on walkable mesh and getting stopped at the nearest end point to the line which is on non-walkable mesh.

    Now, I need the object not to move at all to the non-walkable mesh. Any suggestions out there ??

    Thanks in advance
     

    Attached Files:

  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226