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

Is it possible to change fbx motion animation files from mecanim to legacy?

Discussion in 'Animation' started by Tezelian, Mar 1, 2014.

  1. Tezelian

    Tezelian

    Joined:
    Oct 22, 2013
    Posts:
    256
    I would like to use one of my motion capture fbx files (waving a flag) for a soldier but want the animation file to be set as legacy (1) and not mecanim (2) because it seems that enemy ai with legacy is better because you can access the animations via scripts.

    In other words after importing the fbx animation I would like to change it to animation type 1 from 2.

    Is this possible? Because in another thread somebody was having trouble changing animation type to 1 from 2 and the options for them was not available and blocked and I don't want to go through the same process or would like to find out if it's even possible.

    I'm just used to legacy and can use it better in scripts so if I have an animation file called "wavingflag" on a soldier in a script I can say

    GameObject.Find("test").animation.Play("wavingflag");

    But I can't do this with mecanim, or can I?

    I want this for enemy ai and can you use mecanim for enemy ai?

    For me it seems that enemy ai with legacy is better as the animations can be accesses via scripts unless there is another way.
     
    Last edited: Mar 1, 2014