Christoph Posted January 8, 2016 Share Posted January 8, 2016 Hello everyone, just joined and tried to get the hang out of Babylon.js I'm a bit lost on this problem: I want to remove the particle emitter from rendering, so only particles are rendered, but no emitter at all... Quote Link to comment Share on other sites More sharing options...
Convergence Posted January 8, 2016 Share Posted January 8, 2016 emitter.isVisible = false; Quote Link to comment Share on other sites More sharing options...
Christoph Posted January 8, 2016 Author Share Posted January 8, 2016 Thank you Quote Link to comment Share on other sites More sharing options...
Wingnut Posted January 8, 2016 Share Posted January 8, 2016 Also note that particleSystem.emitter allows a vector3 POSITION (in space), as well. http://playground.babylonjs.com/#206JUO#4 (see line 18) Vector3's are invisible from birth. SUPER handy if you want to make particleSystem.emitter = someMesh.position. Easily switchable, mesh-to-mesh. Quote Link to comment Share on other sites More sharing options...
Christoph Posted January 9, 2016 Author Share Posted January 9, 2016 On 1/8/2016 at 1:35 PM, Wingnut said: Also note that particleSystem.emitter allows a vector3 POSITION (in space), as well. http://playground.babylonjs.com/#206JUO#4 (see line 18) Vector3's are invisible from birth. SUPER handy if you want to make particleSystem.emitter = someMesh.position. Easily switchable, mesh-to-mesh. That's a good tip. I already checked if Empties are exportet from Blender (they are) and one could use them as placeholders for such things. However I think i will need a mesh to give particles some kind of shape. But I'm not really at this point, still trying to setup everything (IDE and stuff). 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.