From SRB2 Wiki
Jump to: navigation, search

A_MoveRelative is an action that thrusts the actor horizontally while keeping its current momentum. Var1 determines the angle, counter-clockwise with respect to the actor's angle, of the actor's movement direction. Var2 determines the speed of the movement, measured in fracunits/tic. Rather than being lost, any momentum the actor might have before performing the action is kept and the momentum from the new movement is added on top of it. Continuous use of this action would therefore allow the actor to accelerate/decelerate rather than remaining at a constant speed as with A_MoveAbsolute.

  Actions – Movement [view]