Skip to content

Particle emitter custom moveTo functions don't move particles #7063

Closed
@samme

Description

@samme

Version

  • Phaser Version: 3.88.0 to 3.88.2

Description

Create a particle emitter with onEmit and onUpdate functions for moveToX and moveToY. The particles don't move.

A workaround is settings the emitter's moveTo to true.

Example Test Code

https://phaser.io/sandbox/9qpr2dzT

Compare versions 3.88.2 and 3.87.0.

Additional Information

Caused by #7017 for #7016 but there is a solution.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions