Rotating actor when camera's relative rotation is outside -45 and 45 degree

What you’re looking for is Turn in Place using Root Bone Yaw Offset.