From the course: Grasshopper: Tips, Tricks, and Techniques

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Vector math, part 2

Vector math, part 2

- [Instructor] Welcome. I have my exercise file open already. This is the second video in two videos focused on vector math. In this video, I want to talk about dot product, the second component in the vector math tool set that's less intuitive. So, let me grab that dot product and put it on here. I have a vector here that I'm controlling with these three sliders, so I have the X, Y, and Z component of that vector. So let's plug that vector into our dot product, and I'm going to plug in the unit X. Now let's see the calculation. So, the dot product between the X vector, or first, my custom vector in the X vector, is exactly the same as the X component of that vector. And that's always going to be true. It's always going to be exactly the same. And if I plug in the Y to my dot product, now, that calculation matches the Y component of my custom vector. And that's because this dot product component is basically, you can…

Contents