transform.lookAt() works fine with he ThirdPersonController but it doesn’t with the FPSController…
I use exactly the same script on both of them. I can’t figure out what the problem is.
Any help would be much appreciated.
the code is:
if (Input.GetKeyDown(KeyCode.U))
{
Debug.Log("U is clicked");
transform.root.LookAt(Vector3.z);
}