Search Unity

Mecanim problem

Discussion in 'Scripting' started by sergienko88, Jun 23, 2014.

  1. sergienko88

    sergienko88

    Joined:
    Jul 22, 2013
    Posts:
    22
    Good time of day. I have the problem with mecanim system.
    There are two layers - base layer and ... second layer(blending - override).
    Base layer have states with default animations. Second layer have states with animations of some action.
    In base layer need to change speed state animation, but in second layer state animation speed must be constantly.
    For example, "animator.speed = 100500;" change speed current state animation in all layers
     
    Last edited: Jun 23, 2014
  2. sergienko88

    sergienko88

    Joined:
    Jul 22, 2013
    Posts:
    22
    Last edited: Jul 24, 2014