3D Lingo Dictionary > Symbols > + (addition) |  |

+ (addition)

Syntax

    vector1 + vector2
    vector + scalar

Description

3D vector operator; adds the components of two vectors, or adds the scalar value to each component of the vector and returns a new vector.

`vector1` + `vector2` adds the components of `vector1` to the corresponding to components of `vector2` and returns a new vector.

`vector` + `scalar` adds the scalar value to each of the components of the vector and returns a new vector.