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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

No Animation Events?

Discussion in 'Animation' started by Zathos91, Jul 9, 2015.

  1. Zathos91

    Zathos91

    Joined:
    Aug 26, 2014
    Posts:
    45
    Hi, i was tryng to test something with animators and animation. So i've downloaded a simple model from the Asset Store together with Mixamo Axe Pack.

    For what i want to accomplish i really would like to use animations events at least to know when a certain animation has ended. The fact is that when i'm browsing the animations clips of the Mixamo Axe Pack there is no Events/Curves or what'ever in that menu and so i can't add anything...

    What am i doing wrong?



     
  2. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    696
    You have to click on the model, not the animation then in the inspector choose the animation you want to add event to ..
     
  3. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    Also, if you plan on making edits to the models in a 3D package, the FBX won't contain the events from the 3D package, so you'd have to re-add them. I'm using Blender, and it seems that pose markers aren't being exported to FBX. Unity does have the ability to add events for each clip though, as Griffo mentioned. The way I'm doing it is through a bunch of Python scripts and Unity's AssetPostprocessor. If you're interested, you can find details of what I did here: http://undertheweathersoftware.com/...ender-pose-markers-to-unity-animation-events/
     
  4. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Here's a video I made a bout 20 minutes ago about this. I go about adding an event to the model. If your animations are not attached to a model (like in Mixamo), there's another method of adding the event,s using the "Animation" tab. (Not Animator)

     
    telepathE and Zathos91 like this.
  5. Zathos91

    Zathos91

    Joined:
    Aug 26, 2014
    Posts:
    45
    thanks a lot guys