Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by proxyjan · Apr 23, 2014 at 04:29 PM · animationanimationsanimationclipbonefbximporter

Single Animation file for two different objects! HELP!

Hello everyone. I imported a big scene from a 3D MAX's FBX file, single FBX file. Among all objects, there are tow different objects in the scene which should have loop animations throughout the game. All objects are Childs (Children? :D) of that single object with the same name as fbx file. Animations imported to unity and work fine, but one of the objects has a different loop time than the other, so the smaller loop animation waits for the larger animation to end, then both start their animations again, smaller ends, smaller waits for the bigger and on and on... . That single animation file is attacked to that single file, the parent, 240 frames. I tried to split the animation into two, one 30 frames and the other 240 frames, for two objects, but i don't know what to do with them! The smaller animation is bone based.

Comment
Add comment · Show 2
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 proxyjan · Apr 23, 2014 at 06:15 PM 0
Share

I clicked on those objects which have animations, but in unity they don't have Animation components, the parent, the one big file, has animation component. So i don't really know how to address which parts i splitted to which game object. I used the smaller loops, 30 that i splitted, smaller loop animation now looks good, but the bigger loop animation now doesn't finish his whole loop which is 240.

avatar image proxyjan · Apr 23, 2014 at 06:34 PM 0
Share

Actually by adding those animations to those specific objects, they don't animate, don't affect on them, but by adding animation to parent object, all the childs animate automatically, but just with one loop time.

1 Reply

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

Answer by OllyNicholson · Apr 24, 2014 at 10:32 AM

This sounds confusing, so unless you are working with a character (in which case there is a different workflow) I believe if you need to treat these animations separately (e.g. have different clips and loop points) then you must export each as an individual FBX file.

You can parent them to your scene or an empty node later in Unity if you wish to group them. It can often be a good idea to export separate elements of your scene to work in a more modular approach, as some elements will need to be animated and some not. You may find that if you organise your Max source file in layers will help you keep track of different elements to export. For example create an animated objects layer that you know each object must be exported individually for (or indeed one layer for each exported file)

Set the keyframe range in 3DSMax for each separate entity to match what you require, and then simply 'export selected' for the object and check animation in the FBX dialogue. This guide can help you verify your export:

  • http://docs.unity3d.com/Documentation/Manual/HOWTO-exportFBX.html

If you have more than one clip for an object (or you didn't adjust the frame range in max) you can 'split' or set up the clips in Unity as follows:

  • http://docs.unity3d.com/Documentation/Manual/Splittinganimations.html

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.

Follow this Question

Answers Answers and Comments

21 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Trim animation to remove middle 1 Answer

Playables animation start delay 0 Answers

Is it possible to switch character animations entirely through script? 1 Answer

Animation not looping 1 Answer

Why i can't play animation clip i did ? Tried anything so far. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges