inverselerp(a, b, x) Calculates the linear parameter t that produces the interpolant value within the range [a, b].
what does this mean in layman's term??
inverselerp(a, b, x) Calculates the linear parameter t that produces the interpolant value within the range [a, b].
what does this mean in layman's term??
@edensk dude you are a lifesaver man
@Formula350 idk, you could use
Yaw*inverselerp(10,0,GS)
so that a steering wheel gradually turns less as speed increases@edensk Forgive me, I have come down with a slight case of The Dumb, can you provide a couple examples where people may want to use this?
(either as a replacement for everyday builds instead of a standard way of doing it, or also maybe even a fringe example that may not be used by many but provides insight into the range of applications it has...)
inverselerp(10,50,IAS)
at 10 m/s and lower, the output will be 0.
as IAS (the variable) increases above 10 m/s, the output will also increase proportionally.
At 50 m/s and higher, the output will be 1.
you can also flip the numbers ( inverselerp(50,10,IAS) ) so that it starts at 1 and ends at 0 as IAS increases