jeffrey guthery (gojeff321)

1 answer · asked · Lesson: Using a NavMesh Agent · Course: Fundamentals of Pathfinding

issue with this lesson

This was too difficult to describe in writing. Please see the attached short video. 


https://www.youtube.com/watch?v=FNgbAnwZGb0&feature=youtu.be

  • crew
    Hey Jeffrey, I think you're using a script that's meant to be used on the camera. I believe that script is part of the standard assets you imported. The script used in the lesson is called "follow", but the one you're using is called "follow target". The offset is used to keep the camera at a distance while still following the target around, that's why it snaps into position and ignores collisions with objects. Look for the script that just says "follow". It should only have one slot for a target to follow around, if it has anything else then it's not the correct script to use.