Rotation method when IK solver does not work