Search Unity

Tutorial - Show Path to a Target With Third or First Person Controller | AI Series Part 31

Discussion in 'Community Learning & Teaching' started by ChrisKurhan, Oct 12, 2021.

  1. ChrisKurhan


    Dec 28, 2015

    Hey all! Happy #TutorialTuesday!

    This week you'll learn how to show a path to a target position using the NavMesh and a LineRenderer, even with a Third or First Person Controller. That's right, no NavMeshAgent requirement here! We'll still have a baked NavMesh that we'll use to determine the path, but we'll allow the player to freely move with WASD and jump! We'll also implement some configurations such as height above the ground and how frequently to recalculate the path.

    As always, full project code is available on GitHub!

    If you're getting value from this series, please consider liking, subscribing, and sharing to help these tutorials reach and add value to even more people. New tutorials are posted every Tuesday!