• 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
Question by MythStrott · Dec 15, 2010 at 04:24 AM · animationblenderrotateboneweight

Animation not importing right. Blender -> Unity

Hey, I made a windmill in Blender. I used a very basic armature with one bone. I weight painted the entire "spinny part" of the windmill and attached the armature to the windmill.

I finished the animation as well and it spins nicely in Blender.

Problem: When I imported to Unity and played through the animation, the entire windmill spins instead of just the "spinny part".

I'll attach a couple pictures. Thanks for any ideas. alt text alt text alt text

Comment
JakeBryn

People who like this

1 Show 5
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 tingham · Dec 15, 2010 at 05:00 AM 0
Share

Paste a screenshot of your full object hierarchy please.

avatar image MonkeyAssassin8 · Dec 15, 2010 at 05:48 AM 0
Share

Did you group them? because I use 3ds max and when I group things and animate them, they tend to work incorrectly

avatar image MythStrott · Dec 15, 2010 at 09:44 PM 0
Share

Tingham, I attached a picture of the hierarchy.

Monkey, what do you mean by "group"? I definitely didn't group anything intentionally.

avatar image MythStrott · Dec 15, 2010 at 09:48 PM 0
Share

Also, you'll notice the Camera and Lamp in the hierarchy of the Windmill Model. I just forgot to delete those in Blender before saving.

avatar image Owen-Reynolds · Mar 27, 2011 at 07:30 PM 0
Share

If two meshes works, it works, but your way works, too (one mesh and a weight-painted bone.) It's an export problem -- I had to play with the bone settings to get what I saw in blender to "stick to" the bones in Unity (I had the opposite problem -- no Unity animation.)

4 Replies

  • Sort: 
avatar image

Answer by Reavenk · Apr 27, 2011 at 07:33 PM

You need to weight paint those other vertices to something. Make another bone in the armature that doesn't move and assign those unweighted vertices to the decoy bone. The problem is all vertices HAVE to be weighted to something if your going to do skinned animation, and if they don't belong to any bones, they're defaulted to one.

Comment
husbandofemily

People who like this

1 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 husbandofemily · Nov 14, 2012 at 01:04 AM 0
Share

I had a similar thing, using only one armature bone to bend a part of a bar, and the whole thing was rotating in Unity. Second bone added and weight painted, works spot on. Cheers!

avatar image

Answer by Makaber · Jan 09, 2011 at 04:30 AM

For me it looks like you have only one Object. Go into Edit mode and select only the "spinny part" press P to seperate them into two Objects.

Maybe you have to redo the animations, I'm not sure.

Comment

People who like this

0 Show 0 · 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

Answer by Noah-1 · Jan 19, 2011 at 09:05 PM

The problem is that you joined the spinny part with the windmill,do the animation again but this time with two objects, just animate the spinny part,and keep it on its place but do not join them import all scenes and enable animtions.

This should work.

Comment

People who like this

0 Show 0 · 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

Answer by ariosto nemeth · Mar 27, 2011 at 02:49 PM

why? what? why weight paint? what is a bone doing there? use 2 objects, give the 'spinny part' (sometimes also referred to, as blades) an rotation ipo.

it takes u 1 minute

Comment

People who like this

0 Show 0 · 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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Unity Rotation In Animation Goes In Opposite Direction 2 Answers

How can I import bones without weight/deform? 0 Answers

Animations imported from blender look strange... 1 Answer

animation.Play not affect specific bone 1 Answer

Discrepancy in animations between Blender and Unity. 3 Answers


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