Jump to content

To place objects into groups based on the space between them


Recommended Posts

Hi all,

 

So I'm trying to split a group of objects into two groups based on a distance or something better.

 

 

See here:

2iiegyv.jpg

 

The Blue group have six balls close to each other, same for the Green group, So, to split the two groups, I want to use the space between them if possible.

 

What I tried is this:

I've connected a point SOP to Group1, then attached a foreach SOP to the point SOP, and plugged a Ray SOP to the each SOP inside foreach, since Houdini document stated that the Ray SOP needs points as input 1 to work.

But .. I couldn't figure out how to use it probably.

 

So, what can I do?

splittogroups.hipnc

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