Polyobj_MoveTo

Moves a polyobject in a straight line towards an absolute destination.

  • po: polyobj to move
  • speed: how quickly the polyobject should move, in map units per octic.
  • pos_x: the absolute X coordinate to which the polyobject must move.
  • pos_y: the absolute Y coordinate to which the polyobject must move.

88:Polyobj_MoveTo (po, speed, pos_x, pos_y)

See also

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.