Several mathematical operations can be done with vectors. Understanding these operations is fundamental to manipulating objects in 3D space:
- Vector addition: The sum of two vectors is determined by adding each of their elements. The next example shows the sum of vectors (3, 5, 0) and (5, 2, 0):
V1 = (3, 5, 0)V2 = (5, 2, 0)V1 + V2 = (3 + 5, 5 + 2, 0 + 0)V1 + V2 = (8, 7, 0)
The following diagram is a graphical representation of the previous example of vector addition:
The following screenshot shows the vector addition node:
- Vector subtraction: The subtraction of one vector from another is determined by subtracting each ...