Attack and decay on StepSlider (lerp?)

Discuss Lemur and share techniques.
RikuVirta
Newbie
Posts:2
Joined:10 Mar 2017 20:58
Attack and decay on StepSlider (lerp?)

Post by RikuVirta » 10 Mar 2017 21:05

Hi guys.

I'm trying to build a StepSlider, that would allow me to set different ramps on the value change, depending on if the new value is going to be lower or higher than the previous one. I would also like the ramp to be able to be longer than one step of the StepSlider. Any thoughts?

I would normally approach this with some kind of linear interpolation (lerp), but the Lemur scripting language doesn't seem to support it out of the box.

Thanks for your help!

Post Reply