kube Posted July 14, 2023 Share Posted July 14, 2023 Hey, I want to apply this popforce only to moving particles, so all particles which are not moving shouldn´t be effected. What have i write into the vexpression? (current doesn´t work) Quote Link to comment Share on other sites More sharing options...
Atom Posted July 14, 2023 Share Posted July 14, 2023 (edited) 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 July 14, 2023 by Atom 1 Quote Link to comment Share on other sites More sharing options...
kube Posted July 17, 2023 Author Share Posted July 17, 2023 Thanks worked out great! :) 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.