algorithmic modeling for Rhino
Hello Grasshopper community,
I was greatly inspired by one of Kristof Crolla's tutorial about Crowd behaviour using Hoopsnake (found on: https://wewanttolearn.wordpress.com/tag/hoopsnake/). Based on part of this tutorial, I am trying to create a similar behaviour inside a box defined by a Brep (using only the attraction and minimal distance in the script). I was wondering how I could limit this behaviour inside the initial Brep, like adding a «bouncing behaviour» when the points touch the box surfaces.
Here is my script so far: Boids_question.gh
Thank you,
Alex
Tags:
use repulsion, but change it to repulse against point on brep. so: closest point on brep--> vector 2 points --> unit vector etc.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by