Sets the Body's acceleration.
name | type | description |
---|---|---|
x | number |
The horizontal component, in pixels per second squared. |
y | number |
The vertical component, in pixels per second squared. |
This Body object.