diff --git a/Assets/Scripts/Entities/Character.cs b/Assets/Scripts/Entities/Character.cs index 716a59b..d98d470 100644 --- a/Assets/Scripts/Entities/Character.cs +++ b/Assets/Scripts/Entities/Character.cs @@ -71,7 +71,7 @@ namespace Cyber.Entities { /// /// The rotation. public Vector3 GetRotation() { - Vector3 Rotation = new Vector3(Head.localEulerAngles.x, + return new Vector3(Head.localEulerAngles.x, transform.localEulerAngles.y, Head.localEulerAngles.z); }