Jump to content
Sign in to follow this  
haema

How to use Kill Inside Collision (oceansource_node)

Recommended Posts

(I'm not good at English) 

I wonder How to I delete the particle from collision boundary. 

according to the Kill Inside Collision is Delete any particles inside any collision objects plugged into the second input.

  flattank size equal bounding box group to create .. um.. I need solution and vex sentence. Would you explain this ?!  

image.png

how to kill particles on boundary.PNG

qna kill the collision particle.PNG

Share this post


Link to post
Share on other sites
Posted (edited)

if you use a attribwrangle and plug the bounds in the second input, you can do this in vex:

vector bmin,bmax;
getbbox(1,bmin,bmax);
if(@P.x>bmax.x || @P.y>bmax.y || @P.z>bmax.z || @P.x<bmin.x || @P.y<bmin.y || @P.z<bmin.z)removepoint(0,@ptnum)

is that what you want to do?
 

Edited by bunker

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×