Wednesday, 22 April 2015

Character animations in Unity using Mecanim (continued)

     Since last time I have finished creating the transitions between animations, now I moved on to applying movement script to the main character. This appeared to be more tricky than I though it would be. The problem I had because of the object set up I couldn't figure out why even when the position is changed the animation would snap back after looping. Eventually after experimenting with animation's options, blend trees, animations states and sub-states and after trying to ask around if anyone encountered similar problem, I have managed to get it working by enabling looping the pose instead of the whole animation. I may have to do the same thing for other animations such as crouch walking, running(if I will decide to have it in my game). Now i will work on the rest of movement mechanics and then adding more elements to the game.

No comments:

Post a Comment