tingzheng Posted July 6, 2018 Share Posted July 6, 2018 hi, is there any way to create a particle effect that move toward a specific direction like Vector(0,0,0)? I need the end result like https://gamedev.stackexchange.com/questions/82899/creating-charging-particles-using-shuriken. thanks Quote Link to comment Share on other sites More sharing options...
RaananW Posted July 6, 2018 Share Posted July 6, 2018 How about using the SPS? http://doc.babylonjs.com/how_to/solid_particles Quote Link to comment Share on other sites More sharing options...
Raggar Posted July 6, 2018 Share Posted July 6, 2018 You can change the direction of all the individual particles. Change them to a direction vector based on the positions of the particles and the emitter, like this: https://www.babylonjs-playground.com/#WBQ8EM#11 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2018 Share Posted July 6, 2018 You can use the brand new velocity gradient for that: https://www.babylonjs-playground.com/#3W04PW#1 They are A LOT of new features for particles coming in 3.3 (check the what's new here:https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/what's new.md) jerome, dbawel and NasimiAsl 2 1 Quote Link to comment Share on other sites More sharing options...
DylanD Posted July 6, 2018 Share Posted July 6, 2018 4 hours ago, Deltakosh said: You can use the brand new velocity gradient for that: https://www.babylonjs-playground.com/#3W04PW#1 They are A LOT of new features for particles coming in 3.3 (check the what's new here:https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/what's new.md) ou lala GameMonetize 1 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.