Download

Timeline Movement with MoveForward Axis

Hi, i made a super simple velocity timeline that changes the velocity over 3 seconds. It works a charm, however when pressing S, the character moves forward. Now I thought that because in the input setting the value is set to -1 it would have inverted the speed but apparently not. Does anyone know a simple way to fix this?

If Axis Value < 0 then multiply the timeline output speed by -1.0.

Here is a possibility, using the Comparing Float node:

](filedata/fetch?id=1788165&d=1594746103)

In your case, for the other Add Movement Input, just negate the forward vector.

This works pretty well, thanks a lot. I did try something like this but forgot to reverse the vector. Cheers

In your code, take the output of the axis. Ceil to get the full value, and multiply the output of the timer by it.