Calculates a Body's velocity and updates its position.
name | type | description |
---|---|---|
body | Phaser.Physics.Arcade.Body |
The Body to be updated. |
delta | number |
The delta value to be used in the motion calculations, in seconds. |