Sets the body's horizontal and vertical acceleration. If the vertical acceleration value is not provided, the vertical acceleration is set to the same value as the horizontal acceleration.
The horizontal acceleration, in pixels per second squared.
Optionaly: number
The vertical acceleration, in pixels per second squared. Default x.
This Game Object.
Sets the body's horizontal acceleration.
The horizontal acceleration, in pixels per second squared.
This Game Object.
Sets the body's vertical acceleration.
The vertical acceleration, in pixels per second squared.
This Game Object.
Provides methods used for setting the acceleration properties of an Arcade Physics Body.