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 Chimerique · Aug 12, 2014 at 11:56 AM · smoothglitchcharacter movementstutterjittery

Stutter / Glitchy running character

Hi there, so I've spent few hours on this problem and I'm starting to be out of idea. If you have any idea, I'll be glad to hear it. FYI: This is my first game (but earning my life by doing c# )

Context: I'm doing a runner game base on some tutorial I saw on the net. I'm using the sample "Platformer2DUserControl" script to move my character permanently.

The problem: I'm getting some strange feeling about the background, not so smooth movement every seconds or so. The camera is attach to the character, so it took me some time to understand that the problem is coming from the character movement.

Here is a video (sorry took the first recording program I found) In order to see the problem I game the camera a regular move so that you can see the real movement of the caracter.

 void LateUpdate()
     {
         var x = transform.position.x + (Time.deltaTime * 14.5f);
         transform.position = new Vector3(x, 0, -10);
         //transform.position = new Vector3(player.position.x + 6, 0, -10);
     }

https://www.youtube.com/watch?v=Inb-Ja1nRLU&feature=youtu.be

At first I had a box collider but I read that it could some time have some unwanted colision. So in the purpose of testing I removed it and only use one circle colider

Not sure what's wrong, I'm doing some pretty basic stuff

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
0

Answer by Chimerique · Aug 12, 2014 at 02:12 PM

It feels like this is what i'm experiencing http://answers.unity3d.com/questions/275016/updatefixedupdate-motion-stutter-not-another-novic.html

Any comments on that ?

Comment
Add comment · 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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How to use real vsync in Unity 3.5? 1 Answer

Movement jitter every few seconds 1 Answer

Fps Camera rotation very choppy and jittery 2 Answers

Stuttering every 2 seconds 2 Answers

Can anyone maintain smooth 60fps on Android (2D) ? 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