Jump to content

Preventing collision - intersection in Copy to points operation

Recommended Posts

This is a recurring problem I am facing when using a Copy to Points operation.

In the attached close up image you can see the issue. I want the geometry to touch but not intersect with each other.

Is there perhaps a solution using Vex or??





Edited by art3mis

Share this post

Link to post
Share on other sites

I think your approach should be to use pscale and pointRelax, haven't tested it but worth a try.





This node looks for any points that, if they were spheres with the specified radii, would be overlapping, and attempts to move them to nearby locations that reduce the overlap. This helps avoid having points that are too close to each other. This process is repeated until there are no overlapping points, or the Max Iterations limit is reached.


  • Like 1

Share this post

Link to post
Share on other sites

I would have simply used Copy and Transform instead...the transform offset is simply the BBox width of the object being copied. Far simpler and precise.

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