Skip to content

Improve ParticleEmitterNode despawn #5

@jeracosta

Description

@jeracosta

Currently, when a ParticleEmitterNode is unmounted, all of its related particles instantly disappear. It would look nice to keep those around until they expire naturally.

An idea: create a encapsulated task to update the particles. The node would use that task when it ticks. On unmount, it would pass a new task to the game: such a task keeps the particle server alive, updates it, and re-schedules itself until there are no more particles left.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions