db.digital Posted February 9, 2017 Share Posted February 9, 2017 Hello! I am working with a team and we are trying to add a sort of "death rate" to the lava solver. This would make it so it would disappear over time. Is there a way to have a lava sim do this? Thank you! Quote Link to comment Share on other sites More sharing options...
msyugo Posted February 9, 2017 Share Posted February 9, 2017 The lava solver is a FLIP sim, wich in very basic terms can also be thought as a normal POP sim in many aspects. A very simple way to achieve what you want could be to delete the particles after a certain condition. with a simple if statement you can remove points after their age is over 2, or if the particle velocity get's bellow .2 for example. Hope it helps, M Quote Link to comment Share on other sites More sharing options...
bunker Posted February 10, 2017 Share Posted February 10, 2017 in a popwrangle: float my_age_limit = 1.0; if(@age>my_age_limit)removepoint(0,@ptnum); Quote Link to comment Share on other sites More sharing options...
db.digital Posted February 10, 2017 Author Share Posted February 10, 2017 Thank you! Exactly what I needed 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.