Delete Particles Based on Velocity

   7376   2   2
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Hey how would one delete particles post simulation based on a triple zero velocity value?
I've used a delete sop on selected points and a filter expression with
V==0

However it doesn't seem to be working. I think something must be wrong with the way I used the expression?

————————————————————————————

Nevermind; attribute wrangle VEX solution…

if(length(v@v)<0.0001) removepoint(0,@ptnum);
User Avatar
Member
20 posts
Joined: Feb. 2016
Offline
RepubliCommando
Hey how would one delete particles post simulation based on a triple zero velocity value?
I've used a delete sop on selected points and a filter expression with
V==0

However it doesn't seem to be working. I think something must be wrong with the way I used the expression?

------------------------------------------------------------------------------------

Nevermind; attribute wrangle VEX solution...

if(length(v@v)<0.0001) removepoint(0,@ptnum);

I know this is an old thread but just wanted to thank you for coming back with the vex solution! Works great!
Mage level 2
www.headofoliver.com
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
No problem at all! (And wow this is an old thread! XD)
  • Quick Links