Categories
How to make an object look towards the player in Unity?
How to write C# code so that a 2D object (in my case <zombies>) looks towards the player.
Answer the question
In order to leave comments, you need to log in
transform.right = target.position - transform.position;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question