I’m developing a mobile game using Unity and have run into a challenge with character animations. The character has walking and idle animations, and I’m using a CharacterController along with a mobile joystick input (FixedJoystick). I’ve set up the Animator parameters (‘IsWalking’ and ‘IsIdle’), but the animations aren’t responding correctly to mobile joystick inputs.
I want the walk animation to play when the joystick is active (indicating movement) and the idle animation when it’s not touched. I’ve tried updating the Animator parameters in the Update method, but I’m facing issues.
Has anyone dealt with similar problems involving mobile joystick inputs and character animations? Any advice or guidance on properly setting up animations for mobile controls would be highly appreciated!