A_MoveRelative
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_BubbleRise • A_BunnyHop • A_CapeChase • A_Chase • A_FishJump • A_ForceStop • A_HomingChase • A_InstaLoop • A_KnockBack • A_MouseThink • A_MoveAbsolute • A_MoveRelative • A_PushAway • A_ScoreRise • A_SkullAttack • A_Thrust • A_ZThrust |