newLocalRotation = newWorldRotation * Quaternion.Inverse(transform.parent.rotation);