Assuming that there is an animation associated with the given polygon
then this function makes it possible to jump to a specific frame.
If animation_frame==-1 then the last frame will be chosen.
If the given animation_frame is bigger than the last frame then the last frame will be chosen.
The first frame is numbered as 0
|