Source Academy Modules
    Preparing search index...

    Function createVector

    • Create a new 3D vector.

      Parameters

      • x: number

        x component of the vector.

      • y: number

        y component of the vector.

      • z: number

        z component of the vector.

      Returns Vector3

      A new 3D vector.