pichou Posted February 6, 2018 Share Posted February 6, 2018 I don't undestand why the updateFunction of my particle system is still called after I stop the system. See console in this playground : https://www.babylonjs-playground.com/#DJVT90 I stop the particle system after a 1 second timeout and the console show that the updateFunction is still called. Thanks, Pichou Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2018 Share Posted February 6, 2018 Do you mind creating an issue for me on the repo? Quote Link to comment Share on other sites More sharing options...
pichou Posted February 6, 2018 Author Share Posted February 6, 2018 OK done, I have another question! Is there a way to have the particle position relative to the emitter? I want the particle to follow the {x, y, z} emitter system which has a particular position and rotation in the scene. But the particle always follow the {x, y, z} scene system. I don't know if this is clear! Quote Link to comment Share on other sites More sharing options...
pichou Posted February 6, 2018 Author Share Posted February 6, 2018 By the way, if I am not mistaken, it seems like the original position of the particle is not {x:0, y:0, z:0} but equal to the emitter position in the scene. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2018 Share Posted February 7, 2018 particles are created at emitter position and then they will live their (short) life But as you can control the updateFunction and the createFunction you can do whatever you want if this is not what you want 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.