Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
3
Question by Bonecrusher52 · Oct 19, 2017 at 07:57 PM · charactercontrollerjumpingjitter

Character Controller Jitters When Jumping Next To Objects

Here's a video of the issue in action- https://youtu.be/FrbIcUZVkMo

And here are the Character Controller's current settings- alt text

Jumping while pushing against/ standing next to objects results in intense jittering. Setting the slope limit to 90 fixes the problem, but isn't a solution because it allows the player to run up very steep inclines/cliffs. I've messed around with various settings, but I haven't been able reduce or fix this problem. Any suggestions?

charactercontrollersettings.jpg (16.5 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

4 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by balfire · Mar 30, 2018 at 06:11 PM

What i did was to set the slope limit to 90 only when im jumping. When im walking it is 45. So when you press the jump button set the slope limit to 90. And when you land set it back to 45. Not the best solution but it works well enough.

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

Answer by NathoSteveo · Dec 02, 2020 at 05:48 PM

Bump. I know this is an old thread but I have the same problem :(

Edit: Found a solution by changing your Step Offset value. Try setting your Step Offset value to something smaller like 0.1. When you jump up near an edge your Step Offset comes into account.

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 Fizi · Jan 13, 2021 at 09:12 PM 0
Share

Very great thank you very much! 40 $$anonymous$$s of googling just pays off.

avatar image
2

Answer by tscpp · Mar 14, 2021 at 10:11 AM

I set the cc stepOffset to 0 while in air. This works perfectly for me. Also fixed so the character couldn't jump higher than intended exploiting stepOffset near an object while jumping.

 isGrounded = Physics.CheckSphere(groundCheck.position, 0.1f, groundMask) || yBefore == transform.position.y;
 yBefore = transform.position.y;
 
 if (isGrounded)
     controller.stepOffset = originalStepOffset;
 else
     controller.stepOffset = 0;
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 Scintil013 · Nov 30, 2021 at 03:42 AM 0
Share

Thank you!! I know very little about Unity and didn't realize that ctrl.stepOffset was a thing!

(If anyone struggles with a lack of gravity, just don't use the yBefore. The jittering is still gone, and the step offset changes when I jump.)

avatar image
0

Answer by Whiteleaf · Jan 22, 2021 at 01:33 PM

I know this is a very old thread, however I've been having this issue for years. I fixed it with the answers above, by setting my step offset to zero when I'm in the air and back to the default value when I'm on the ground.

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

88 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 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 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 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

Character pointing on terrain "wall" after jumping 0 Answers

I can't do that my character jumps while running 0 Answers

Character Controller jump doesn't work for some reason? 0 Answers

Cannot jump while running downhill,Character can't jump while moving down 0 Answers

Riding a second character controlled object 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