Set the X and Y values of the gravitational pull to act upon this Arcade Physics Game Object. Values can be positive or negative. Larger values result in a stronger effect.
If only one value is provided, this value will be used for both the X and Y axis.
The gravitational force to be applied to the X-axis.
Optionaly: numberThe gravitational force to be applied to the Y-axis. If this is not specified, the X value will be used. Default x.
Set the gravitational force to be applied to the X axis. Value can be positive or negative. Larger values result in a stronger effect.
The gravitational force to be applied to the X-axis.
Set the gravitational force to be applied to the Y axis. Value can be positive or negative. Larger values result in a stronger effect.
The gravitational force to be applied to the Y-axis.
Provides methods for setting the gravity properties of an Arcade Physics Game Object. Should be applied as a mixin and not used directly.