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 mister.keith · May 28, 2012 at 07:09 PM · camerajumpingitweensmooth

iTween MoveTo Function is Jumpy

I am using the "MoveTo" command for iTween on my main camera to do a smooth panning up to the main menu for my game. The issue is, is that when we approach the last parts of the animation it slows down a ton and then jumps to the final position I wanted it at. Is this just an issue with my frame rate or is there a setting I don't have set up? Kinda lost at this point. Thanks in advance for the help!

Here's my iTween script I'm using for the camera pan.

 public void Start()
 {
     iTween.MoveTo(gameObject,iTween.Hash("y",6.720898,"z",-4.269152,"time",15.0));
     
 }
Comment
Add comment · Show 1
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 brad_81 · Jan 20, 2016 at 02:11 AM 0
Share

I found that some easetypes jump and others don't.

For instance, Expo jumps, but Quart does not.

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by RCraig · Jul 10, 2012 at 03:52 PM

Did you get this figured out? If not, I believe your issue is the default easetype. I had the same issue until I changed my easetype to linear or EaseInOutSine. Once I changed it, the movement was perfectly smooth. Not sure what the default easetype is, but it definitely doesn't seem to be linear.

Add something like this to your Hash: "easetype",iTween.EaseType.linear

*NOTE: Not tested as I'm at work.

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 mister.keith · Jul 14, 2012 at 04:45 PM 0
Share

Perfect! The EaseInOutSine gave it the smooth transition I was looking for. I ended up shelving the project for a little but I plugged it in and it worked smoothly. Thanks!

avatar image
2

Answer by bojangles · Dec 14, 2013 at 04:37 PM

Also:

If the gameObject you're tweening has a rigidbodgy attached, the iTween 'physics' flag is set. This can cause jittering in movements...

Comment
Add comment · Show 4 · 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 Daxaxelrod · Jan 14, 2016 at 04:18 AM 0
Share

You just made my day. Thanks!!

avatar image Ygedey · Feb 22, 2016 at 09:15 AM 0
Share

Is there any way to solve this without removing the rigidbody? I need the rigidbody for other things but I want the linear Easetype, which is causing jittering.

avatar image Stoolfeather · Aug 19, 2016 at 04:57 PM 0
Share

Where is this flag located?

avatar image uniteiro · Apr 26, 2019 at 04:34 AM 0
Share

Thank you!

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

13 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 avatar image avatar image avatar image

Related Questions

camera smooth stop (continuously sliding), on touch end 0 Answers

How do I make a camera look for a specific GameObject while networking? 1 Answer

How Can I Smooth This Camera Code 0 Answers

First Person Camera is extremely jerky 4 Answers

How to obtain perfect smooth rendering? 0 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