Phaser API Documentation

  Version: 
applyForceFrom(position, force)

Description:

Applies a force to a body from a given position.

Parameters:

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.

Returns:
Description:

This Game Object.

Since: 3.0.0