1 (edited by gaurangranoliya 2023-09-29 05:44:02)

Topic: Make Walk & Running played at Horizontal Axis

How we can use Forward movement as 0.5f for walk and 1f for running.
Let's say I am using joystick for movement, so i want walk & running both in one axis, for e.g. if i move joystick right side a little means half and it's input will be 0.5f, so player only walks, but when i move joystick fully right and input value will be 1.0f, then player should run. It is like blend tree.

How to achieve this in UFE horizontal inputs.
I tried in move editor also but not found this type input in it.

Share

Thumbs up Thumbs down

Re: Make Walk & Running played at Horizontal Axis

You can change the force applied during horizontal inputs by disabling "Force Digital Input" under Global Editor -> Input Options.

As for changing the animation, there is no direct option for that.
You could use moves to achieve this, but it can be a bit more complicated. You could make a move that requires a "charge forward" input that links to itself as far as the input is still being pressed.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: Make Walk & Running played at Horizontal Axis

Okay, thanks for the reply, but this won't help me.

Share

Thumbs up Thumbs down