Jump to content

Apply Popforce only to moving particles

Recommended Posts

Hover your mouse over the word Amplitude. That will bring up the tooltip with the name of the parameter you can modify using the VEXpression. In this case, it is called amp.

if(length(v@v)<0.1){amp = 0.0;}else{amp=2.0;}

You could also use a fit to offer a range of values. Check your spreadsheet for the expected maximum value. In this example, any particles with a speed greater than 4.0 will produce a noise amplitude of 2.0.

amp = fit(length(v@v),0.1,4.0,0.0,2.0);


Edited by Atom
  • Like 1
Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...