UnitMovement.cs private void UpdateIdleRotation () { if (!canIdleRotate || nextRotationTarget == Quaternion.identity) //can the unit rotate when idle + there's a valid rotation target return; if (IdleLookAtTransform != null) //if there's a target object to look at. nextRotationTarget = RTSHelper.GetLookRotation(transform, IdleLookAtTransform.position, true); //keep updating the rotation target a..