Strange Jitter When Doing Continuous Jumping?

winterbolt

New member
Hello,

I have a problem where when I have the jump ability start type set to Button Down Continuous and stop type to Automatic where if I hold down the jump button the first 3 or 4 jumps are jittery and of different high but after that it's fine but if I move, the jumps are all of jittery and of different heights.
 
When testing you should deselect the character as it takes unity awhile to draw the inspector. Beyond that you could try using Update rather than Fixed Update for the loop. This page has more info on both of those topics: https://opsive.com/support/documentation/ultimate-character-controller/character/

Also, take a look at this post: https://opsive.com/forum/index.php?...ing-determined-by-frame-rate.4774/#post-23514

Beyond that does it work in the demo scene? I am not been able to reproduce it.
 
When testing you should deselect the character as it takes unity awhile to draw the inspector. Beyond that you could try using Update rather than Fixed Update for the loop. This page has more info on both of those topics: https://opsive.com/support/documentation/ultimate-character-controller/character/

Also, take a look at this post: https://opsive.com/forum/index.php?...ing-determined-by-frame-rate.4774/#post-23514

Beyond that does it work in the demo scene? I am not been able to reproduce it.
Sadly, it doesn't work in the Demo as well.

I've tried Update as well and it worse (more jittery and inconsistent).
 
Here's my test in a new scene with a non-animated character:


This was with the change in the linked thread.

Edit: I've attached the scene for you to also test.
 

Attachments

  • jump.unity
    63 KB · Views: 0
Last edited:
Here's my test in a new scene with a non-animated character:


This was with the change in the linked thread.

Edit: I've attached the scene for you to also test.
Does this character have the jump ability recurrence set to 0 and start type to Button Down continuous?!
 
I edited my post above to include but I had the default Recurrance Delay value of 0.2. When I set it to 0 I see a slight bounce. I will fix this in the next update which should be going out next week. For now if you use a value greater than your framerate delta time it should work without any issues.
 
I edited my post above to include but I had the default Recurrance Delay value of 0.2. When I set it to 0 I see a slight bounce. I will fix this in the next update which should be going out next week. For now if you use a value greater than your framerate delta time it should work without any issues.
I can't thank you enough now that you just confirmed it's a bug, IT WAS DRIVING ME INSANE! THANK YOU SO MUCH!
 
Top