Yellow-Dog-Man / Resonite-Issues

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

Procedural locomotion animation system does not handle fast / snap-turning well #2850

Open shiftyscales opened 2 months ago

shiftyscales commented 2 months ago

Describe the issue.

The procedural locomotion animations do not handle fast turning and snap turning well at all at present.

The legs will frequently bend at extreme angles depending on what part of the cycle the turn is initiated in.

To Reproduce

Enable snap turning with a high angle e.g. ~45 degrees is what I typically use, or use a high turning speed ~360 degrees/s is what I usually use.

Expected behavior

The procedural animations should retarget their positions to the new facing direction while snap-turning so that the limbs remain in a consistent animation cycle and do not suddenly bend/break.

Screenshots

Animations glitching during snap-turning:

https://github.com/user-attachments/assets/cda6ae64-e8dd-4149-9ca9-5ac8f925a386

Animations glitching during high-speed smooth turning:

https://github.com/user-attachments/assets/a5fb8255-1452-405e-8787-cadc600357d6

Resonite Version Number

Beta 2024.9.2.1379

What Platforms does this occur on?

Windows

What headset if any do you use?

Quest

Log Files

N/A

Additional Context

Follow-up from #2837 splitting it up into separate actionable issues per @Frooxius' request.

Reporters

@shiftyscales

ModernBalloonie commented 2 months ago

I sort of feel like #2802 is possibly related to this btw.

shiftyscales commented 2 months ago

Last I recall, wasn't that issue about the problem where the hips / rest of the avatar's body just kinda flies away temporarily, @ModernBalloonie?

It's definitely possible it could have a shared underlying issue though, yeah.

ModernBalloonie commented 2 months ago

Last I recall, wasn't that issue about the problem where the hips / rest of the avatar's body just kinda flies away temporarily, @ModernBalloonie?

It's definitely possible it could have a shared underlying issue though, yeah.

Mostly the original issue I made was about the feet freaking out when turning when going fast, as they'd kind of fly away. the hip flying away is just another thing that seems to happen, kind of unrelated to the foot issue but definitely another issue. (i think)