A_MoveRelative

From SRB2 Wiki
Jump to navigation Jump to 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]
A_BubbleRiseA_BunnyHopA_CapeChaseA_ChaseA_FishJumpA_ForceStopA_HomingChaseA_InstaLoopA_KnockBackA_MouseThinkA_MoveAbsoluteA_MoveRelativeA_PushAwayA_ScoreRiseA_SkullAttackA_ThrustA_ZThrust