Search Unity

Unity Animator Paramater bool wont work after setting it to false

Discussion in 'Animation' started by Jason_165, Apr 6, 2020.

  1. Jason_165

    Jason_165

    Joined:
    Aug 2, 2019
    Posts:
    2
    I created an animation for the button. I checked the animations and they are good. But somehow my animator controller does not do that what I want from him. I created a bool parameter called Activate and set my conditions in my transitions. When I playtest and click on "Activate" the button moves in, that is what I want, but when I deactivate my "Activate" parameter, instead of moving back out it happens nothing. So do I miss something or what is this about? I'm using Unity 2019.3.5f1 and I do not know where the issue is.


    As you can see the button of the generator is out because "Activate" is not activated.


    Now it is activated and the button is pushed in.


    The animation is alright it should go from zero (button is out) to 0.047 where the button is pushed in.


    After the deactivation of "Activate" it should go back from 0.047 (button is pushed in) to zero (button is out), but it does not do that.

    Can somebody help me out?