if ( Z_Rotation > 0 )then(-DegToRad(Z_Rotation)*500 )else ( 0 )

こうかな