The Snow Irbix Posted December 15, 2014 Share Posted December 15, 2014 Hello guys !I need again a little bit of help,I love babylonJS and his community, you are awesome guys ! Firstly, I would like to use blacks particles, but I don't know how can I do this, because it's the transparent color. Secondly, I would like to know if it is possible to slow or speed up the time in the game, to create a "slow motion" effect. Finally, I try to create a physic destruction, with a bullet and a wall : http://www.babylonjs-playground.com/#DBETC The goal is to remove the physic link when the force is too strong.To do this, I thought run a fonction test collisions with all objects, but is too long, due to the big number of meshes that compose my scene.So, is it possible to call a callback function when the physic engine detect a collision ? If it is, how ?And how can I remove a physic link between two meshes ? Thank you ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 15, 2014 Share Posted December 15, 2014 You can create black particles by setting the alpha mode to standard: myparticleSystem.blendMode = BABYLON.ParticleSystem.BLENDMODE_STANDARD; Then you can change upadte speed for particles with myparticleSystem.updateSpeed Latest point is not supported so far but I'm opened to contributions Quote Link to comment Share on other sites More sharing options...
The Snow Irbix Posted December 15, 2014 Author Share Posted December 15, 2014 Thank you, I understand now how use particle And for the second point, I would like to slow every object in the scene, even the camera, all the world, not just particles, and without lost Frames. I don't think it is possible but I hope ^^ I will try to create my own function to remove physics links 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.