#Like `Euler` `LookRotation` returns a
1 messages · Page 1 of 1 (latest)
Maybe I've got something drastically wrong?
if(Input.GetKeyDown(KeyCode.A)){
firepoint.localRotation=Quaternion.LookRotation(Vector3.left);
Debug.Log("left: "+Quaternion.LookRotation(Vector3.left));
}
What's going on with your Inspector lmao
But anyway, your log here is meant to look like that. Quaternions don't represent rotation in degrees, it's a 4-axis value representation
And the numbers range from -1 to 1, so that's why it looks weird
You could try
firePoint.localRotation = Quaternion.LookRotation(Vector3.left);
Debug.Log(firePoint.localEulerAngles); // this gets the rotation in degrees
hmm thanks for all the help and stuff but that still isnt rotating my transform object. I suppose the issue is with the unity playground move and object shooter scripts