Polyobj_MoveTo

From ZDoom Wiki
Jump to: navigation, search

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


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.

See also