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 awplays49 · Apr 26, 2015 at 01:09 PM · issuejitterjittering

Keep player grounded when going down hills.

How can I make my player not "jitter" down terrain? I tried physics materials, intense physics, and nothing works. I have had this problem since last night and I need it fixed. I have no idea of how I bypassed the issue on my last game, but I remember having the issue.

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 GregoryNeal · Apr 26, 2015 at 02:40 PM 0
Share

$$anonymous$$y first step would be to check out the code from your last game.

avatar image awplays49 · Apr 26, 2015 at 02:53 PM 0
Share

the difference is I used rigidbody.position ins$$anonymous$$d of transform.position in this game. I also set the gravity really powerful to fix it in my last game. That's all I can think of, I don't have access to the game itself.

avatar image Soos621 · Apr 26, 2015 at 06:35 PM 0
Share

you could potentially use its -y velocity from the rigidbody or something like OnCollisionStay (){} to tell the object to "hug" the terrain in those circumstances. I dont know how complex it would have to be to fit into your code but its a possibility

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Nickston · Apr 27, 2015 at 11:13 AM

What kind of collider are you using at the feet area?

The old Unity 2D tutorial project uses a circle collider at the feet to prevent the jittering you're experiencing. I assume that if you're working 3D, you could add a sphere collider at the center of the feet.

Sadly, the sample 2D project seems to have disappeared off of the face of the earth.

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 awplays49 · Apr 27, 2015 at 08:14 PM 0
Share

I use a capsule collider. wouldn't that be the same?

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

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

Related Questions

Jittering effect when moving character and camera 2 Answers

Gravity controller is buggy 0 Answers

Player movement jittery when hitting walls and using Rigidbody.MovePosition. 1 Answer

Why incrementing transform.position causes jitter on iOS 1 Answer

Has anyone had a camera jitter issue with Unity 2018.1 Timeline objects? 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