Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Animation Layer syncing

Discussion in 'Editor & General Support' started by Panerox, Feb 8, 2013.

  1. Panerox

    Panerox

    Joined:
    Apr 27, 2010
    Posts:
    15
    I have a issue about Animation Layer syncing (http://docs.unity3d.com/Documentation/Manual/AnimationLayers.html).
    I implemented the controller, added layer(with 'sync' and layer name), and I want to use it with the animation layers (WALK and RUN). In my script i use the Animator.SetLayerWeight method for switching between layers. That is ok and working.
    But the animations are played at different speeds, the animation of the first layer is fine, but the animation of the second layer is very fast. When I put the exact same animation on both layers - they also played at different speeds. 'speed' parameter of the State affects both layers at once.
    How to use layers? What are the requirements for an animation? How to adjust? :D

    Thanks in advance for your help!
     

    Attached Files:

  2. Django

    Django

    Joined:
    Nov 25, 2008
    Posts:
    120
    Is your Blending mode set to Additive by any chance ? If so change it to Override.
     
  3. Panerox

    Panerox

    Joined:
    Apr 27, 2010
    Posts:
    15
    Of course, I set the Override mode :)
     
  4. Remingthon

    Remingthon

    Joined:
    Feb 8, 2013
    Posts:
    8
    We with Panerox already try it, but problem is still there.