Skip to content

Improve ParticleEmitterNode despawn #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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