Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Basic Animation blending

Discussion in 'Scripting' started by Brian-Kehrer, Dec 5, 2006.

  1. Brian-Kehrer

    Brian-Kehrer

    Joined:
    Nov 7, 2006
    Posts:
    411
    Hey, I'm just getting started with Unity, and have a slight difficulty with the animation blending.

    I have an idle and walk cycle imported from maya.
    Both work perfectly indepently--
    however when I use the simple blend script to transition between the two, my character simply freezes mid-walk, and the idle animation is almost additive, rather than returning to his relaxed-idle pose.

    My best guess is that I just need to add more keyframes in maya (as in I didnt use more then one key for parts of the idle pose--and that unity needs animation to overwrite the position) Any ideas?

    Brian K
     
  2. Brian-Kehrer

    Brian-Kehrer

    Joined:
    Nov 7, 2006
    Posts:
    411
    Turns out that fixed it,

    So, anyone having trouble with blends, make sure to key the joints a couple times, even if they are static in the new pose
     
  3. AaronC

    AaronC

    Joined:
    Mar 6, 2006
    Posts:
    3,553
    Hey Brian
    Welcome
    you just answered a question running round in my head-Thanks!
    AC
     
  4. Brian-Kehrer

    Brian-Kehrer

    Joined:
    Nov 7, 2006
    Posts:
    411
    Hey thanks,

    I've been trolling the forums for 2 months or so, and you solved a lot of my questions already.

    Glad I could contribute! :)