Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM Particles lifetime causes all particles to reset #8

Open
dustinlacewell opened this issue Jan 22, 2022 · 0 comments
Open

DOM Particles lifetime causes all particles to reset #8

dustinlacewell opened this issue Jan 22, 2022 · 0 comments

Comments

@dustinlacewell
Copy link
Owner

https://react-ecs.ldlework.com/examples/core/DOMParticles

On this example when engine.removeEntity(e) is called, the whole particle system gets reset.

I suspect this has something to do with some react component being re-rendered when the data changes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant