Dear Chris, in my third-person mobile game, I use a mobile joystick from SimpleTouchController and I configured it according to the instructions on the website. For animations, I use Mecanim, and I created a blend tree to switch between walking and running animation. I set up the "Walk speed scale" and "Run speed scale" parameters of the player the same as threshold values of the blend tree for walking and running animations. However, when I start to play, the speed values never reach the running thresholds and limited by Walk speed scale parameter, and my character can only walk.
Could you help me understand why the speed value is limited by my Walk speed parameter and what should I do to switch to run using mobile joystick? Here is a video explaining my problem:
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @mawrik.
It's an old script, but I've updated the wiki page with a "Run threshold" value you should be able to adjust to allow for running if the stick is moved far enough.
However, a dedicated "Mobile joystick" template is available over on the Downloads page. You may like to give that a try as well.
Thank you very much!!!