- Home /
The question is answered, right answer was accepted
Animation and joystick Input
Hi guys,
I'm currently animating a character for the first time in unity and i would like to ask you guys how to proceed :
In fact I want to animate the arms of my character based on a joystick input (0 = arm is bent 1 = arm is stretched) But I don't know what is the best way to do it. I can do it programatically but maybe that's not the best way to do it ;) I have understand how to fire animation using mecanim but i can't find if what i want to do is possible ? or maybe with the legacy system ? (I'm working on unity free)
Thanks for your help !
Duke
Answer by le_duke · Oct 05, 2014 at 03:23 PM
Ok I'have been able to make the animation that I want using blend trees. Just made 2 animations one with bent arm and another with stretched arm and then i have been able to use a blend tree in order to get intermediate positions based on a parameter =)
Blend Trees Tutorial : https://www.youtube.com/watch?v=HeHvlEYpRbM
Follow this Question
Related Questions
Analog stick control 1 Answer
Circular Analog Input? 1 Answer
Handling input, movement, animation with scripts? 1 Answer
Mecanim Axis Randomize Input Problem 0 Answers
Clear mecanim trigger input? 1 Answer