I am using Enhanced Input and I cannot find how to add an acceleration to movement input axis when using a keyboard. Basically, when using a keyboard, I don’t want the movement input to instantly go between -1, 0, and 1; I want to add an acceleration to it. How do I do it? I have tried searching for it but I only find stuff related to character movement acceleration…
Edit: Ideally I also want to have a deceleration when releasing the input as well.
Friction would take care of stopping. If there’s no friction (because we’re up in the air / in vacuum), you could add linear dampening. Or a directional force opposite to the current velocity.
If all you want is to produce a smooth interpolated value: