Invert Vector Input Value?

#1

I’m having an issue with my input node. I got the object rotating with mouse movement but the object rotates opposite of what I need it to. Is there a way to invert the vector input from mouse coordinates so it rotates the correct direction?
Here’s the node setup:

0 Likes

#2

And here is what it’s doing:
inverted%20movement

0 Likes

#3

Just set the Z value of the vector that you are multiplying it by in the Vector Math node to the negative of whatever it is set to.

You could also multiply the mouse coords Z value by -1 using the Math node:

1 Like

#4

I can’t believe I didn’t think of that. I was looking for another node that would allow that. Thanks!

0 Likes