Continuously moves the particle origin to follow a Game Object's position.
name | type | arguments | Default | description |
---|---|---|---|---|
target | Phaser.Types.Math.Vector2Like |
The Object to follow. |
||
offsetX | number | <optional> | 0 |
Horizontal offset of the particle origin from the Game Object. |
offsetY | number | <optional> | 0 |
Vertical offset of the particle origin from the Game Object. |
trackVisible | boolean | <optional> | false |
Whether the emitter's visible state will track the target's visible state. |
This Particle Emitter.