Changed head rotation to localRotation