Make an Enemy Look At the Player in Unity
Sometimes we have dynamic enemies or obstacles in a game and want them to interact with a player. How do we make an enemy look at the player in Unity? Really, how do we make one game object look at another game object? Use the LookAt(Transform target) function to point a game object in the…