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 santelia · Feb 11, 2012 at 12:27 PM · animationblenderexportsplitwalk

how to play split animations from a blender model?

I'm losing my head while trying to use inside Unity3D some multiple animations of a character made in blender. In blender I've created a long animation that from frame 1 to 400 has to be used as idle, and from frame 401 to 440 has to be used as walk animation. Exported the model to fbx using "unity" preset, taking armature, mesh, animations, all actions. In Unity the fbx is seen well. The prefab shows one animation. Then I used the Split Animation inspector tool in Unity and divided the animation as follows: idle start 1 end 400 WrapMode loop; walk start 401 end 440 WrapMode loop. Now the prefab shows those two animations, idle and walk. The Animation inspector tool also shows two elements, respectively element 0 is idle and element 1 is walk. To control my character I use a third person controller script that I successfully tested with the "muktargame" animated monster model from the asset store. It runs very well. That script uses some variables, and for my character model I set the Idle Animation at "idle" (the name of my idle animation), and the Walk Animation at "walk" (the name of my walk animation). Despite all that, when I hit play, my model correctly loops the idle animation, but when I use the arrows (working on a Mac) to make the character walk, it doesn't use the walk animation that I set: the character simply slides along the arrow direction, without playing any animation at all. I repeat: the same script tested on "muktargame" from asset store ran very well. What have I done wrong? Maybe something in the animation labelling or something around there...? It would be very, very, really very appreciated if anyone could give me the exact detailed workflow and instructions on how to solve that. Please, no answers like "try-to-set-this-don't-remember-where-and-when"... ;-) .

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Owen-Reynolds · Feb 11, 2012 at 03:49 PM

Test whether Walk is working at all. In your case, simplest thing is to jump in the script and temporarily replace "idle" with "walk". Or, drag in the prefab copy, disable/remove the script and change top animation slot to Walk.

Also, I feel silly saying it, are there any run-time errors? Muktar may be be playing "headbob," which crashes on your headbobless version, and it never gets to Walk.

Can check whether the gameObject has the correct Walk. It's possible you have Muktar's(?) walk. Or, sometimes animation names get doubled-up and you'll have 2 Walks, one of them non-functional. Since the bones aren't the same, it just won't do anything and won't give any errors. Simplest thing is to rename your walk "WalkA" or something.

Comment
Add comment · Show 1 · 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
avatar image santelia · Apr 09, 2012 at 08:09 AM 0
Share

thank you. solved.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Blender to Unity animations not importing correctly 1 Answer

Blender FBX import problem 0 Answers

Waving flag animation in blender to unity 1 Answer

Animation Clips for Unity3D 0 Answers

How do you make pupils move along an oval-shaped eye? 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