Jump to content

Get neighbouring particles under vops


Div

Recommended Posts

Hi,

I'm looking for a way to find neighbouring particles under vops, in order to make a crowd system. I've found the neighbour count vop and the neighbour vop but i can't get them working, i'm probably doing something wrong. Plus i don't know why there aren't a distance parameter to find neighbours...

I can probably find another way by testing distance between the current particles and the other but i don't know how to get the other particles in the vop context...

Thanks for your help.

Cheers.

Edited by Div
Link to comment
Share on other sites

Thanks sam.h, some impressive example, and a full of resources website, the point cloud method seems to be exaclty what i'm looking for, but i need to do it in pops as it will modify the particles' simulation and point clouds are only available in sops...

And Spencer thanks too, but the proximity pop seems to give only for a particle its nearest particle's id and the distance between them, and i need to get all the particles near it. I also need to be able to get all the particles' position in order to modify their velocities according to each other for a cohesion / repulsion behaviour....

Edited by Div
Link to comment
Share on other sites

Doesn't the proximity POP make groups for this? you can make a group for particles within a certain distance and then continue with your vop pop tomfoolery.

from the help:

Create Proximity Particle Groups

When this option is on, the operator creates new particle groups corresponding to each input particle, containing the particles closer than the Proximity Radius to that particle.

Link to comment
Share on other sites

Thanks for your example, that's seems to be what i was looking for... I'm gonna study it. The main difficulty for me was to know how to access all the particles inside the vop network...

Thanks sam, you're right i could use groups, but i think i will go for a full vop solution. i'll then make some test and see which method is speeder for calculations....

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.

Guest
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...