Changed yaw value in doRotation to an integer