Vorion Posted March 4, 2018 Share Posted March 4, 2018 Hi, I switched to the new GPUParticleSystem, and I noticed, that the particles freeze on the screen in their last state, when the targeStopDuration was reached. This doesn't happen when using the normal ParticleSystem. Is this a bug, or intended behaviour? Here's a playground example: http://www.babylonjs-playground.com/#7H1RN9#2 (left box is normal ParticleSystem, right box is GPUParticleSystem, both using identical settings) Thanks Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 4, 2018 Share Posted March 4, 2018 that has not been added yet, but will be soon Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2018 Share Posted March 5, 2018 will fix it today! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2018 Share Posted March 5, 2018 https://github.com/BabylonJS/Babylon.js/issues/3850will fix it today! Raggar and Vorion 2 Quote Link to comment Share on other sites More sharing options...
Vorion Posted March 5, 2018 Author Share Posted March 5, 2018 Thank you ! Quote Link to comment Share on other sites More sharing options...
Vorion Posted March 7, 2018 Author Share Posted March 7, 2018 Has this been fixed? I saw your commit about adding support for stop and die on gpuparticles, but it doesn't seem to be working. The targetStopDuration just stops the particles and does not reset them as the normal particlesystem variant does. Also by manually calling the reset() function, the gpu particle get visually removed, but still seems to use a draw call each until I restart the game. I'm using the current nightly version you've just published. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2018 Share Posted March 8, 2018 So the bug was not pushed yet (should be good in a couple of hours) for the draw call this is expected and I added a point about it in the doc: http://doc.babylonjs.com/babylon101/particles#stopping-a-gpu-particle-system Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.