diff --git a/Assets/Scripts/ChildController.cs b/Assets/Scripts/ChildController.cs index 2721ed7..2de2699 100644 --- a/Assets/Scripts/ChildController.cs +++ b/Assets/Scripts/ChildController.cs @@ -85,7 +85,7 @@ public class ChildController : MonoBehaviour else { transform.eulerAngles = new Vector3( transform.eulerAngles.x, - Mathf.Atan2(xLookingValue, zLookingValue) * Mathf.Rad2Deg, + Mathf.Atan2(xLookingValue, zLookingValue) * Mathf.Rad2Deg -90, // -90 to correct forward facing angle... transform.eulerAngles.z); } }