Search Unity

Animating character with mobile joystick

Discussion in 'Animation' started by Naif05, Mar 30, 2019.

  1. Naif05

    Naif05

    Joined:
    Mar 30, 2019
    Posts:
    3
    Hi, I am new to Unity and C# programming. I have been working on a 3d mobile game and recently got stuck in making the joystick for the character's movement. I watched all Youtube videos and googled a lot, but couldn't find any solution as I still don't understand how the C# script for joystick works. All of my movement and animations are ready and they work fine on the keyboard. But I want to assign the animations and movement to the joystick. I want different animations to be played when the joystick is pulled at different angles. Please help.
     
    Last edited: Mar 31, 2019