Vector3 defines the __unm
operation, which returns a Vector3 with the negation of each of its components.
print(-Vector3.new(1,2,3) == Vector3.new(-1,-2,-3)) --> true
Vector3 defines the __unm
operation, which returns a Vector3 with the negation of each of its components.
print(-Vector3.new(1,2,3) == Vector3.new(-1,-2,-3)) --> true