Question by
Nova-1504 · Mar 13, 2017 at 06:09 PM ·
vector3enemyupdatenavmeshagent
How do I calculate a Vector3 from the transform of a GameObject?
I am trying to get an enemy to walk towards the player. However, I need the Vector3 for the player to use NavMeshAgent.SetDestination ();. How do I reset a Vector3 to the player's position in Update?
Comment
Your answer
Follow this Question
Related Questions
Having some problem with AI finding a vector3... 0 Answers
Vector3.MoveTowards and NavAgent weirdness 0 Answers
How To Duplicate Canvas To Follow Player 0 Answers
Saving old Position 1 Answer