From the course: Grasshopper Plugins

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Adding goals to physics simulations in Kangaroo

Adding goals to physics simulations in Kangaroo

From the course: Grasshopper Plugins

Adding goals to physics simulations in Kangaroo

Let's see what happens when multiple Kangaroo goals start to interact with one another. I'm working here in the exercise file labeled 002-Kangaroo-multi-goal-begin.gh in Grasshopper. And I've just got a blank Rhino file, and I'm working in the Top viewport. So here I'd like to combine two additional goals along with the Load goal that we set up in a different video. So first, let's bring in a Length-Line goal, and that's under the Kangaroo2 component tab, Under the Goals-Line submenu. Just scooch this over a little. So the Length-Line goal takes as its input, basically a line or an edge, and it tries to constrain that line to a certain length, and it has a strength setting, which basically determines how hard should the solver try to make the line be the length that we're asking it to be. And if we don't input any length, we'll just keep the line at its original length. So for my line here, I'd like to take this Line component from my geometry group. I'm going to leave the length…

Contents