Simple popnet vortexforce question

   1169   2   0
User Avatar
Member
246 posts
Joined: July 2005
Offline
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?
User Avatar
Member
45 posts
Joined: Dec. 2016
Offline
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);
Edited by Efi - Sept. 21, 2018 08:24:00
Jeremy Gurdal
VFX Artrist
User Avatar
Member
246 posts
Joined: July 2005
Offline
Thank you, I'll give it a shot.
  • Quick Links