Aswin Shrestha Posted October 8, 2014 Share Posted October 8, 2014 I wanted to add physics to the emitted particles for fluid simulation but I don't think Babylonjs has that kind of capability as of now. Is there any workaround for this? Basically, I want to simulate a waterfall, and the particles emitted would strike the stationary pond/water. I figured, using the meshes for this approach would hamper the performance too much. So, manipulating the vertex array for this might be a better option I think. How do I simulate this effect? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 8, 2014 Share Posted October 8, 2014 You can hook the particles system to update the vertex buffer before rendering .You can check the update function of the particleSystems and replace it with yours Quote Link to comment Share on other sites More sharing options...
Aswin Shrestha Posted October 8, 2014 Author Share Posted October 8, 2014 Ahh okay. Thanks. 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.