animation – How to detect if player want to do a wall run?

I have a third person character and I want to make it wall run. However since there will be a wall run animation, I don’t want the player to do the Inputs for a wallrun and at the end change direction with touching the wall. I don’t want the animation to start but have the player not wall run. I also don’t want to start the animation right when the player start the wall run since I want a transition.
What would be a good way to be sure the player will wall run ? Would having an input forcing the character to wall run be a good solution ? I don’t want to controls to be too complicated, so would there be a better solution ?

Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email