How do i make an enemy always face player

so i have a turret that i want to always face the player if the player goes within the invisible trigger i have on the turret. look at is only for cameras right? i just want it to rotate to always face the player

Why should LookAt only be for Cameras? You could use LookAt or you could create your target Vector with Vector3 v=target.Position-transform.position; and then apply it to the Forward Axis of your Turret: turret.Forward=v;

Normally a turret has separated Axis to Rotate that’s why I wrote a script 2 Years ago so it might be a Little outdated but you can download it here