Skip to main content
steveh74164893
Participant
Oct 11, 2022 6:36 PM UTC
Answered

Invert parameter ?

Its been a while since i played with designer, I forget how to invert a parameter vaule? lets say I am remapping a float vaule  into a liner interpolate. How do I invert the vaules. Right now my slider is going in the wrong direction for what i want it to do, hope that makes sense?

This topic is closed to new replies. Start a new post to keep the conversation going.
davescm
davescmCorrect answer
Community Expert
Oct 11, 2022 8:21 PM UTC

Putting that function ahead of whatever is your next step does invert the slider's action - just make sure that the values for float 0 and 1 are changed to match whatever you have set as min and max.

 

Dave

4 replies

davescm
Community Expert
Community Expert
Oct 11, 2022 8:03 PM UTC

For use with lerp just swap the a and b inputs to invert the output of the interpolation

In the example below, as the slider value increases, the lerp output decreases

 

 

Dave

Translate
steveh74164893
Participant
Oct 11, 2022 8:07 PM UTC

Yes, but its the slider action in the parameter that I want to invert

Translate
davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
Oct 11, 2022 8:21 PM UTC

Putting that function ahead of whatever is your next step does invert the slider's action - just make sure that the values for float 0 and 1 are changed to match whatever you have set as min and max.

 

Dave

Translate