[Feature Request] Negate float or int value math node

Like this?

239890-untitled.png

You drag that pin and do your thing. Can you give an example?

Hello, I wanted to ask if it would possible to add a new math node for floats and integers that just multiply’s it by negative one, its something I know plenty of developers would appreciate as a quality of life feature and hopefully isn’t too difficult to add into the engine because having to multiply it by -1 honestly seems tedious. Plus there’s one for vectors, why isn’t there one for floats and integers?!

But that sets it, what if I need to do some extra things with that float value?

You could just make a pure function

Something like this, where its not setting it but it returns the negated value… so I can do extra math stuff with it(I didn’t make a integer example cause its the same case) while the negate vector node does the same thing in one node without setting that vector…

1 Like

That’s what I’m asking is standardizing it within every future engine iteration so that we don’t have to do it for every engine iteration

I mean that’s exactly what they did with the negate vector node so I don’t understand why cant there be one for floats and integers…

So it’s a node that does the same as the x -1 but not as flexible. Not convinced but good luck.

Hey, consider dropping this off at the forums Feedback section, more people attend those. The multiply & set node wasn’t in the engine until someone requested it. Sorry for being a negative Nancy.