I'm trying to write a script that involves flipping a polygon. Is the mgReversePoly function the correct function to use? I'm trying to mimic the reverse face action that's in Creator.
Yes, mgReversePoly will reverse the order of the vertices in the polygon. (the order of the vertices completely determine the direction the polygon will face)
Or if you're using Creator Script, the following could be used:
mgExecute ("Reverse Face", None)
This is one instance where the OpenFlight Script version s actually simpler to use than the Creator Script version. Usually it's the other way around.