stu
Sept. 20, 2018 15:27:37
Apologies for what I'm sure is a ridiculously simple question - what's the best way to limit/kill the influence of the vortexforce_pop at it's centre? Eye of the storm-type stuff, where I'm making a tornado-type thing driven by a curve but I want to limit/quiet/kill the vortex influence towards the centre.
Thoughts?
Efi
Sept. 21, 2018 07:38:52
for exemple:
vector centerVortexPos = {0, 0, 0}; // change it
float max = ; //vortex radius
force.x *= distance(@P, centerVortexPos);
// if you don't want 0 force in the center
force.x *= fit(distance(@P, centerVortexPos, 0, max, .5, 1);
stu
Sept. 24, 2018 13:28:00
Thank you, I'll give it a shot.