Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Sometimes when jumping, and then afterwards fast walking forward, both feet hop forward at once, causing a sort of "bunny hop". #2801

Open ModernBalloonie opened 1 month ago

ModernBalloonie commented 1 month ago

Describe the issue.

If you jump while running forward, there's a strange moment where both feet are off the ground simultaneously and they both "hop" forward.

https://github.com/user-attachments/assets/524fefb4-9e52-48b7-96f7-9e52f6e54e62

When changing MinOpposingProgress to 1 on all the gaits, this seems to help the issue, but then you don't "float" in the air while running.

Maybe it's because MinOpposingProgress ends up "taking over" instantly when landing? this is just a theory.

Here's an example with MinOpposingProgress set to 1 on all the gaits.

https://github.com/user-attachments/assets/42233864-249f-4a2a-b967-33ca30062d65

To Reproduce

Jump and land while moving forward at 4 speed, your feet will sometimes bunny hop.

Expected behavior

There's probably a better way to get the feet to look better when landing and moving forward like this. I feel like the stride should continue after landing more naturally.

Screenshots

Provided a video earlier.

Resonite Version Number

Beta 2024.8.22.1328

What Platforms does this occur on?

Windows

What headset if any do you use?

Desktop

Log Files

Probably N/A?

Additional Context

No response

Reporters

ModernBalloonie

Frooxius commented 1 month ago

This is one of the smaller things I wanted to improve and add extra logic for when the feet will want to move after landing, but it's lower priority than other things.

The gait will tend to stabilize itself afterwards naturally.

The main solution for this is to make one of the feet move "early" after landing, when it normally wouldn't have based on its actual position.