Hello!
I want to use FInterpTo to interpolate between two values to adjust the fov of my weapons while aiming, the thing is that i have a float variable (ADSTime) that i would want to feed in and i cannot figure out how because of the ease out this function produce.
Could anyone teach me how i could feed in this time variable to make this Interpolation over time?
PS: I know the existence of FInterpConstantTo, but i would want to use FInterpTo because of the convinient ease
No, that would override my ADSTime variable completely which is predefined on the constructor, the intention here is doing the interpolation over time, for example, being the ADSTime 0.2f seconds, said interpolation should take exactly 0.2f seconds, if we are speaking about FInterpToConstant you can just resolve the formula but in this case the big ease out takes a big place in here.
I discovered that the speed parameter in this FInterpTo is more something like a 1/time parameter. But the Ease out increases the timing on said function. I don’t need anymore to know the solution of this problem as i worked around it with a lerp and some failsafe clamps, but would be nice having more information about what that speed really means.
Yes, ive spent some time looking at the code previously, thats what helped me to make that deduction. I would like to have more documentation about this matter because i wouldnt call that value a “Speed”.
Anyways thank you so much for the input. I won’t set it as resolved because it really isnt, but i’ll upvote your answers. As i said before i implemented something else by myself already.