Skip to content

Vector arifmetic #5108

@Lotzyprod

Description

@Lotzyprod

Suggestion

Please, allow to use vector arifmetic with not only %vector% ** %vector% but %vector% ** %number% or %number% ** %vector%

It exists in examples, but not implement in source code.

Why?

because it will not allow me to write something like this:

set {_sin} to sin(180)
set {_vec} to vector(1,1,1)
set {_sin} to vector({_sin},{_sin},{_sin})
set {_vec} to {_vec} ** {_sin}
set {_vec2} to (1,1,1)
set {_vec} to {_vec} ++ {_vec2}

or

set {_sin} to sin(180)
set {_vec} to vector(1,1,1)
set {_vec} to vector((x of {_vec})*{_sin},(y of {_vec})*{_sin},(z of {_vec})*{_sin}) #more brackets for decrease parse time!!!!

Other

Same thread
#4253

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions