How to do linear acceleration on character's walkspeed (when using gamepad)

I don’t know what this thing called, but it’s the acceleration thing you have when you play games on console or with pc gamepad support - you pull the left thumbstick slightly and your character will move slightly.

This function is missing in the default unreal character setting, nor the enhanced impout settings. I wonder how can we have it or how to program it with blueprint? Any advice?

Thanks so so much!

But it already works like that out of the box. The Axis Value spits out -1:1 range:

The above is in the default 3rd person template.

Oh, I didn’t realize that, I didn’t use the template instead I built my own character controller. thanks for pointing that out, I’ll look at it first maybe I’ll find something useful from the template character.

It’s this:

image

The thumbstick produces axis value and a movement component processes it.

Thanks, but where to set the curve? like currently I got it working, but the acceleration is barely noticeble, because I have to move very tiny little on the thumbstick to see the different, most of the time I use regular force to push the thumbstick it almost feels like a constant speed. I don’t know if I explained it well lol

  • make a curve in the Content Browser:

  • ensure it makes sense to you, unlike this one - I was clicking at random :innocent: :

  • sample it:

Ok, finally I got some directions on it. I’ll play around and see if I can get it to work the way I wanted. Thank you so much ! :smiley:

1 Like