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

Start Animation by Key, Mouse e.g.

Discussion in 'Animation' started by stefanwe, Sep 2, 2016.

  1. stefanwe

    stefanwe

    Joined:
    Sep 2, 2016
    Posts:
    3
    Hi guys,

    i created multiple animations for one objects and i can switch between "Animation1" and "Animation2" by key.

    .....
    upload_2016-9-2_20-56-46.png .......

    upload_2016-9-2_20-55-15.png

    But i struggle with this Entry state machine. It is not possible to set a trigger parameter between the transition from Entry to Animation1. When i run the Animation it automaticly starts to animate the Animation1. Can enyone help me? I DONT want to start Animation1 automaticly, i WANT to start the Animation one by click a button.

    Thank u guys.

    regards,
    stefan
     
  2. GrischaG

    GrischaG

    Joined:
    Apr 26, 2013
    Posts:
    40
    Hi stefanwe,

    you can add an empty state between Entry and Animation 1.

    Grischa
     
    theANMATOR2b likes this.
  3. stefanwe

    stefanwe

    Joined:
    Sep 2, 2016
    Posts:
    3
    Hi Grischa,

    tanks a lot. It works!!! Awesome. I wansn´t think about that possibility.

    Stefan.
     
    GrischaG likes this.