Yellow-Dog-Man / Resonite-Issues

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

When rapidly turning left and right, the feet get very confused and go crazy. #2802

Open ModernBalloonie opened 3 weeks ago

ModernBalloonie commented 3 weeks ago

Describe the issue.

Moving left and right rapidly results in the feet offsetting very strangely, and causes a whole load of problems to happen. (Watch this video in it's entirety.)

https://github.com/user-attachments/assets/212ec901-9cbf-462a-a9c2-3628b6b048f0

It also seems when lag spikes happen, the locomotion freaks out more.

To Reproduce

Swerve left and right like in the video, and your feet will go crazy.

Expected behavior

For the feet to not fly away.

Screenshots

Video provided 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

N/A probably.

Additional Context

No response

Reporters

ModernBalloonie

ModernBalloonie commented 2 weeks ago

Here's another video of this happening.

https://github.com/user-attachments/assets/f45e4f1d-227f-4d5a-aff5-72310740d963

Frooxius commented 2 weeks ago

Is this with default settings?

ModernBalloonie commented 2 weeks ago

I think it's a bit more intense with this config: https://github.com/Yellow-Dog-Man/Resonite-Issues/discussions/2799#discussioncomment-10441453 but I have had it happen with the default config.

ModernBalloonie commented 2 weeks ago

Also i don't know if it helps at all but I do have a high frame rate monitor (165 hz).

ModernBalloonie commented 2 weeks ago

Also, in the new update, that being 2024.8.27.55 this still happens, even on the default settings.

Frooxius commented 2 weeks ago

I haven't done anything to address this issue yet.

Frooxius commented 2 weeks ago

I've pushed a new prerelease build 2024.8.27.1163. Can you try to replicate it with this one and record a new video if it still happens? It has some additional diagnostics.

ModernBalloonie commented 2 weeks ago

https://github.com/user-attachments/assets/74ad9918-2384-47cb-a9bf-3442f9f32d9f

Here's a new video!

Frooxius commented 2 weeks ago

@ModernBalloonie Could you record another video with 2024.8.28.1268 please? There's some more visuals still.

I have a few more requests:

Frooxius commented 2 weeks ago

@ModernBalloonie Actually can you try this with 2024.8.28.1308? There's a fix for gaits misbehaving that could potentially be affecting this too.

If it still occurs, try to replicate with the instructions above.

ModernBalloonie commented 2 weeks ago

Update: Tried on 2024.8.28.1308, videos are from that version.

@ModernBalloonie Could you record another video with 2024.8.28.1268 please? There's some more visuals still.

Sent a link.

  • If you have high refresh rate screen, are you able to record at its refresh rate? That would give more fine data to see what's going on since this happens pretty fast

Wasn't able to get the full 165 hz but I was able to get 120, so that'll be in the new video I just did

  • Are you able to get this behavior to happen by setting the override values for speed and angle? That might make it easier to see

I got it to happen in slow motion, however I haven't gotten it to happen with speed and angle overrides yet. I'll have to do further testing.

  • Do you have any avatar metrics? I can't seem to have this happen by default when I try to replicate this

I do not have any avatar metrics, this is just default.

  • Can you zoom out the camera so the feet are always in frame? They go out of frame in some parts

Yup, video has 120 fov.

Zyro1331 commented 2 weeks ago

I can confirm that the behavior is still present in the latest pre-release build. However, it's more mitigated when using another user's custom animation configuration. Even more erratic behaviors can be seen when moving forward and rotating though.

https://github.com/user-attachments/assets/96fc8b4d-eb27-4e00-afca-1eaf6153154e

The behavior is much harder to properly see with debug visuals enabled, and is really only possible to trigger in first-person due to the lack of smoothing behavior.

https://github.com/user-attachments/assets/b35ca5a8-010b-4753-afe1-b8d090e220fd

My browser isn't playing nice with the video above, so you might have to play it back in another tab or open it in another browser to get it playing. The built-in video trimming tool in Windows is probably to blame for this.

There's another issue that briefly makes an appearance in this last video but it's hard to consistently cause it to happen so I have yet to properly document it. The hips of my avatar appear to get thrown in a random direction at times when rotating or changing direction abruptly, and I've even seen it sometimes can get stuck in the air when running for a moment.

ModernBalloonie commented 1 week ago

So i've been playing around a bit and I think i've managed to replicate the behaviour slightly with ProtoFlux.

https://github.com/user-attachments/assets/a5965818-d7da-45b8-b473-7f82380c5d20

I made a sine wave and then made it go from 270 to -270 degrees while override locomotion velocity was at 7, and the speed ratio was at 0.1. I haven't replicated the feet flying away yet like this, but that's what i'll try next.

ModernBalloonie commented 1 week ago

https://github.com/user-attachments/assets/5bb806f3-dbec-43a6-ae86-ba7b3f8a1ca6

Here's a video of it happening from a front angle.

Zyro1331 commented 2 days ago

This appears to have alleviated a bit in Beta 2024.9.10.682, the feet will still rapidly move but they are much less all over the place now.

shiftyscales commented 6 hours ago

For me if anything this issue has gotten worse, @Zyro1331 - if I turn very quickly while stood still there is a high probability my hips and legs swing out from under me at a 90 degree angle. It seems to occur no matter the preset I use.