Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animator Cycle parameter not working

Discussion in 'Animation' started by IgorAherne, Mar 25, 2017.

  1. IgorAherne

    IgorAherne

    Joined:
    May 15, 2013
    Posts:
    393
    Hello,

    Animator of Mecanim system doesn't respond to the following things:

    - Create a float parameter in Animator Controller
    - Create an animation state
    - Make animationState's cycle depend on that float parameter

    - during the game, select the gameObject, so that the "Animator" window adjusts to display the Statemachine graphs (with states and transitions), specific to that AnimatorController instance being associated to the gameObject.

    When I tweak the value in the parameters section (the section near layers section), there is no change on the animation cycle.

    properties_example.JPG

    However, if I untick "Parameter" checkbox on the animation state and just enter values directly into the box which says "RndOffset" it magically works.

    animatorState example.JPG

    Any help, comrades?
     
    Last edited: Mar 25, 2017