The enemy is following player but looking somewhere else

The enemy AI doesn’t lookAt player even if I use transform.lookAt(player.transform).
any idea what is wrong here?

Make sure in your enemy’s setup that the character’s rotation under the main gameObject is set to 0,0,0

thanks a lot. it worked.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms