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
1
Question by Dainiusss · Feb 04, 2015 at 04:56 PM · animation2dspriteanimatorsmooth

How to make not smooth animation?

Hello, everyone. I am new to unity, and it is first time I get a contact with unity animation system. I am trying to create an animation with different sprites moving, but I do not want it to be smooth, so I want to ask: how can I disable that smoothness?

The picture below depicts my problem and should give and easier understanding of it: - The red line shows the line, by which my objects travel during animation; - The green line shows how I want my objects to move; - The yellow dots shows my middle keyframe location;

As you can see, objects are passing-by the position, which I given them in the middle (2nd) keyframe, but I want them to completly go to this position and then move further. All objects, which I move in animation, move proportionaly with each other (by the same route)

alt text

If you see other mistakes, not dedicated to this problem, which I may am doing, please tell, it would be very helpful for me :)

animationsmoothness.png (236.0 kB)
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
8
Best Answer

Answer by DanSuperGP · Feb 05, 2015 at 09:28 PM

At the bottom of the Animation window... there should be a little selector, on one side it says "Dope Sheet" and the other it says "Curves"

Go to the Curves mode.

Then for the individual key frames that you want to change, right click on the keyframe and select Broken.

Adjust the tangent handles to adjust the shape of the curves. Straight line motions generally work when the broken handles point directly along the line between the key frames.

You may need to insert additional keyframes to make it work.

Comment
Add comment · Show 5 · 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 Dainiusss · Feb 05, 2015 at 10:26 PM 1
Share

Thank you, DanSuperGP. After a little time playing with Curves I finally solved my problem and your answer was very usefull! Thanks .

avatar image DanSuperGP · Feb 05, 2015 at 10:32 PM 0
Share

Glad to help!

avatar image devcor · May 23, 2016 at 10:26 PM 0
Share

Oh my god! You saved my life, I was going crazy over this extra movement I was having.Similar to autghor's problem.

avatar image aditya007 · Oct 22, 2016 at 09:35 AM 0
Share

I was searching for exactly this kind of answer :D. Although, I used "Flat" ins$$anonymous$$d of broken. Thank you!

avatar image shieldgenerator7 · May 28, 2021 at 09:27 PM 0
Share

You can also right click on the Keyframe and select "Both Tangents->Linear" to automatically get rid of the smoothness

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

2D Animation does not start 1 Answer

Setting animator parameter on a single instance of a prefab sets the parameter for all instances 3 Answers

Object not moving after changing animator parameter 1 Answer

2D Character getting a weapon. Changing it's sprites/animations 0 Answers

Animator warning in editor, animation is preventing script from working 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