Search Unity

Attaching extra animations to character.

Discussion in 'Animation' started by JoshWilliams3d, May 20, 2014.

  1. JoshWilliams3d

    JoshWilliams3d

    Joined:
    May 13, 2014
    Posts:
    2
    Hi guys,
    So I am completely new to unity, I'm currently working on a project that involves a purchased character pack that contains characters already set up with rigs, animations, collisions, prefabs etc.
    Now, the characters are using the animations from the mecanim tutorial, seen here: https://www.youtube.com/watch?v=Xx21y9eJq1U

    I have then taken the characters out, rigged and then created some extra animations we need for our game.
    However, when I try to attach them to the characters, they just go into a "squatting" position and do not work.
    I then also tried using the mesh and rig that they use (the tall, tutorial guy), created a super simple animation to test it, and that equally does not work either.

    Is what I am trying to do possible?
    If you need more information, I will give it straight away.

    Thanks!
     
  2. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    If you are completely new to Unity I would suggest some further tutorials to help with understanding the re-targeting process, in other words being able to apply any humanoid animation, to any other humanoid character, using an avatar. Also the sample assets have much newer examples than the video link you posted, here are some links to help with your learning path!

    http://docs.unity3d.com/Documentation/Manual/MecanimAnimationSystem.html
    http://docs.unity3d.com/Documentation/Manual/Retargeting.html
    http://unity3d.com/learn/tutorials/modules/beginner/animation
    http://blogs.unity3d.com/2014/04/14/turn-your-character-into-a-player/
    http://blogs.unity3d.com/2014/01/17/new-sample-assets-beta/

    Olly - Unity Support
     
  3. JoshWilliams3d

    JoshWilliams3d

    Joined:
    May 13, 2014
    Posts:
    2
    Great! thank you so much! Turns out all I was missing was setting my animation type to humanoid, and making it into an avatar.

    You've alleviated a gargantuan headache, thank you!