Search - User list
Full Version: Simple popnet vortexforce question
Root » Technical Discussion » Simple popnet vortexforce question
stu
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
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
Thank you, I'll give it a shot.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB