Grasshopper

algorithmic modeling for Rhino

Hey,

I am attempting to create a simple swarm model simulation in Grasshopper, via Rhino using the Kangaroo plug-in however I keep coming across problems managing the various points which make up the swarm.

Is there a way to measure the distance between two moving points (under the influence of a Uforce node), to take that distance which is constantly updating and run it through a ‘larger than’ node with a set variable. Hence when the two points who are moving in opposite directions, reach a set distance (the variable), they change direction?

It sounds complicated, any ideas how I could achieve this?

Thanks anyone who can help.

Views: 1290

Replies to This Discussion

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service