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 artie · Aug 26, 2012 at 02:52 AM · blenderrotatebonearmature

Why does rotating a bone on one axis affect others and translation

I imported a simple model from Blender as a .blend file, has an armature. It works fine in Blender. In Unity, in the editor, I can rotate bones manually. But the odd thing is, even though I rotate on, say, X, I can see Y and Z values changing, and odder still, there's movement in the translation. I can understand if I was looking at a child bone's transform, but I'm not. What might cause this, can it be fixed? I just want rotation on one axis.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ScroodgeM · Aug 26, 2012 at 10:35 AM

rotation in editor is represented as euler angles. it's a lot of information about it here and not only here. euler angles is just a representation of Quaternion, that internally used for store and manipulate rotations. if you rotate object around only it's own X/Y/Z axis, it doesn't mean euler angles will change only it's X/Y/Z axis that you rotating around.

if you want to rotate object around some axis, you can use this, this or this

never use euler angles to read and examine data

Comment
Add comment · Show 3 · 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 DaveA · Aug 27, 2012 at 07:13 PM 0
Share

I think he means manually rotating in the editor, not with any script.

avatar image Bunny83 · Aug 27, 2012 at 08:41 PM 0
Share

Well, rotating it manually in the editor does use a "script". The TransformInspector also uses localEulerAngles to view and change the current rotation.

avatar image artie · Dec 03, 2012 at 10:27 PM 0
Share

I understand about how other Rotation components might be affected, but why would the Position components change too?

avatar image
0

Answer by Bunny83 · Aug 27, 2012 at 08:48 PM

Make sure you have set your editor modes to "local" and "pivot". Using "global" and / or "center" rotation or movements will cause some strange results. Usually you don't want to rotate bones manually. You usually have animations that set the local angles to absolute values.

alt text

More details can be found here.

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 artie · Dec 03, 2012 at 10:26 PM 0
Share

Thanks. I'm trying to move a joint programatically though. I have tried those settings, but it makes no difference. Whether manual or code, affecting one axis of rotation affects the translation somehow, like it's doing a Skew or something.

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

10 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

Related Questions

Problem with ragdolls and my armatures 3 Answers

Blender animation problem with armature 1 Answer

Bone rotating entire mesh in Blender, but not in Unity 0 Answers

Bone doesn't rotate through script 1 Answer

Animations imported from blender look strange... 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