Sets the maximum velocity of the body.
The new maximum horizontal velocity, in pixels per second.
Optionaly: numberThe new maximum vertical velocity, in pixels per second. Default x.
Sets the velocity of the Body.
The horizontal velocity of the body, in pixels per second. Positive values move the body to the right, while negative values move it to the left.
Optionaly: numberThe vertical velocity of the body, in pixels per second. Positive values move the body down, while negative values move it up. Default x.
Sets the horizontal component of the body's velocity.
Positive values move the body to the right, while negative values move it to the left.
The new horizontal velocity, in pixels per second.
Sets the vertical component of the body's velocity.
Positive values move the body down, while negative values move it up.
The new vertical velocity, in pixels per second.
Provides methods for modifying the velocity of an Arcade Physics body.
Should be applied as a mixin and not used directly.