reset(x, y)
Resets all Body values (velocity, acceleration, rotation, etc)
Parameters
Name | Type | Description |
---|---|---|
x | number | The new x position of the Body. |
y | number | The new y position of the Body. |
- Source code: physics/arcade/Body.js (Line 1130)
Please login to continue.