Set Velocity
Jump to navigation
Jump to search
A set velocity node sets the speed and movement angle of an object. It sets .vx, .vy (and .rot if Set Rotation is true) attributes of an object.
Equivalent Code[edit | edit source]
When setting the velocity of a unit with angle a and speed v, a set velocity node will be translated to something like "SetV2(unit,v,a,true,false)". This is the same as the following code: