Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Pumpkinotto · Jun 10, 2016 at 03:05 PM · c#animationrotationissue

[Animation] Objects rotating in the wrong direction

Hi, i'm having a problem with the animation system in unity, that's what happens: i create a new animation i set, in frame 0, the coordinates (also angles) the various objects to animate i set, in frame 10, the final position that i want but, it spins the object in the wrong direction. example: i got an arm that is at 75°, i set it to became 330°, it spins counterclockwise (wrong direction), so i thinked that adding at frame 5 (in the middle) a keyframe that sets it to 22° would fix the problem, but from frame 0 to 5 it work ok, but from 5 to 10 it start spinning like crazy. i noticed that i can't set negatives values for the angles so i've no idea how to fix this issue. thanks in advance for the help

Comment
Add comment · Show 3
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 vintar · Jun 10, 2016 at 04:01 PM 0
Share

If you only have 10 frames, why not set its rotation for every frame?

avatar image Pumpkinotto vintar · Jun 10, 2016 at 05:19 PM 0
Share

because the animation would be ugly as i won't know the right degree, and it would take long. i wanted a reliable solution. thanks btw

avatar image theANMATOR2b Pumpkinotto · Jun 11, 2016 at 05:09 PM 0
Share

This really is a work around, but if it works right? Don't assume it will look ugly until you've tested it. Use simple math - if you want the animation to rotate 330 over 10 frames each frame will rotate 33.

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Flip over an object (smooth transition) 3 Answers

How can I stop a parented object from resetting its transform when a parent animation play? 1 Answer

Problem with wave like movement when rotating around X and Y axis with mouse input // Please Close/Delete 1 Answer

Multiple Cars not working 1 Answer

Rotate Animation In-Game? 2 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