Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to make character move in the direction of navigation path

Discussion in 'Navigation' started by brickT, Nov 14, 2015.

  1. brickT

    brickT

    Joined:
    Jul 1, 2015
    Posts:
    8
    Hello All, I have created a code in which, a navigation path will be created from character's position to the desired location. It also reduces in length when character moves on the given path.
    But it works manually ie : when click on up/down arrow key.
    I want to move the character automatically when select the destination button, along the line renderer which is showing from player/character position to destination position.
    Anyone please help me out in this.


    Thank You
     
    Last edited: Nov 14, 2015