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

mecanim animation tags

Discussion in 'Animation' started by NikoBusiness, Feb 23, 2015.

  1. NikoBusiness

    NikoBusiness

    Joined:
    May 6, 2013
    Posts:
    289
    can someone explain whats mecanim animationstate tags useful for?
     
  2. Mecanim-Dev

    Mecanim-Dev

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    It user data only, the engine does nothing with tag.

    You can group together state with tag for your code logic
    By example you could put a Tag 'Jump' on all your state that does handle jump and then in your script if the current state has the tag 'Jump' you enable a rigid body to simulate a jump with gravity.