timur04 Posted January 20, 2020 Share Posted January 20, 2020 I have pop particles with the pop fluid force that are dripping down on a round surface. Instead of the particles falling off, I want them to start following the surface for a bit like sticky fluid. I found this bit of code that will make the particles do this, but its too strong, I want to lessen the effect. How do I do this? I want to be able to turn down this effect so it looks more like natural fluid. @P = minpos(0,@P); Quote Link to comment Share on other sites More sharing options...
anim Posted January 20, 2020 Share Posted January 20, 2020 you can start by looking at ParticleFluids/Condensation shelf tool, which will set up popfluid with adhesion force it's based on SDF volume representation of your colider which can be more efficient especially for static colliders and a lot of particles, but can be adapted to minpos() lookup as you can get direction and distance from that too Quote Link to comment Share on other sites More sharing options...
timur04 Posted January 20, 2020 Author Share Posted January 20, 2020 Oh wow, cool that works! I just thought, there is a simple way to add a fraction of minpos() to @P position to create that effect. Quote Link to comment Share on other sites More sharing options...
Noobini Posted January 20, 2020 Share Posted January 20, 2020 (edited) easy peasy Note: you can exceed range 0-1...above 1 it will just proportionately overshoot....or undershoot too. vu_lerp.hiplc Edited January 20, 2020 by Noobini 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.