Applies a force to a body from a given position.
name | type | description |
---|---|---|
position | Phaser.Math.Vector2 |
The position in which the force comes from. |
force | Phaser.Math.Vector2 |
A Vector that specifies the force to apply. |
This Game Object instance.