• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by demid · Apr 08, 2013 at 10:37 PM · animationmecanim

[SOLVED] Reuse generic avatar animation for the same FBX

I would like to be able to reuse the animation clip (file *.anim) created for generic avatar in another game object instance of the same FBX model. Step by step my desire sounds like this:

  1. Import FBX model into project.

  2. Drag and drop this model into a scene.

  3. Create some animation clips.

  4. Open new project with the same FBX model inside, create game object from it there.

  5. Copy .anim file to the new project and attach somehow it to the newly created game object.

I know that generic animation retargeting is not supported yet. I know that I can use a prefab and export/import it via .unitypackage. It really works. BUT... The design process of my 3D model is iterative and it's not finished yet. Some minor mesh/UV operations could be done later, I mean maybe in the version 2 of my project. Also some bones could be added later (not affecting transforms of the existing bones). Sometimes even after minor mesh operations reimported model messes up my prefab so I have to recreate the prefab and this leads to animations lost. What I can do to preserve animations in my case?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dorpeleg · Apr 08, 2013 at 10:51 PM 0
Share

I think that if the bones remain the same then attaching the animation to a the same model in a different place should work.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by demid · Apr 09, 2013 at 10:41 AM

The trick was in step 5: it was not enough to just copy .anim file from one project to another. Instead I used .unitypackage to transfer the animation from one project to another and it works for me now!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Object disappears when animation starts in generic mode, but not in legacy mode 1 Answer

Is there a way to instantiate an object at runtime with an Animator Controller at the same animation time as another? 1 Answer

Mecanim .anim files? 0 Answers

Reference clip for Additive blending animation in Mecanim 0 Answers

Setup specific frame of a sprite animation and stop the animation there 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges