The output of VInterp To is too small

Hi!

I have this script:

The difference between the Current argument and the output argument from the VInterp to is to small (around 0.73) and I don’t know why.

If I change the operation to subtraction here:

imagen

The difference between the Current argument and the output argument from the VInterp to is bigger and I can see how the actor moves.

How can I make it move faster (or get a bigger output in Vinterp To?

By the way, I’m using the mouse wheel to call this function.

You’re feeding it low delta, you’re getting low interpolated results. Every frame the delta gets smaller so do the result. Looks fine at a glance but…

VInterp to is to small (around 0.73) and I don’t know why.

This is an arbitrary value under the circumstances presented above. Why do you think it should be higher? What math are you testing it against?


Increasing Interp Speed will produce larger steps. Not sure what the bits on the left are supposed to achieve so it’s hard to advise anything else.

1 Like

Thanks for your advice.

I’m surprised because with the same code, but changing only the addition to subtraction, I get bigger steps. This is why I have asked.

I will try to multiply delta time by 50.0f and check what happens, and also, change Interp Speed.

Thanks again.

The vInterpTo uses a basic curve, it’s a dumb fire & forget thing with only Interp Speed as a factor - handy but it can be limiting, inflexible if you’re after something more nuanced.

There are other curves out there, too:

image

And you can create your own curves, of course.

1 Like

Thanks.

I have multiplied Delta Time by 50.0f, and now it does bigger step. I think this is good enough for me.