webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
344 stars 207 forks source link

Lag in Walking/Running #3049

Closed msm0823 closed 2 years ago

msm0823 commented 2 years ago

There is too much lag in walking and running in plaza scene even at above 50fps

image

https://user-images.githubusercontent.com/104460803/169857673-3640e623-24ab-45bd-ad84-b68f29a7c729.mp4

lalalune commented 2 years ago

Hmmm, the mutliplayer update may fix this since it's a velocity stutter issue. Once we pull that in we should review this, we make need to interpolate velocity on the local player so that it feels smooth and physics don't jitter.

msm0823 commented 2 years ago

https://github.com/webaverse/app/issues/2467

avaer commented 2 years ago

I think this got worse with more recent multiplayer merges. Now the animation will seemingly short circuit itself on a low frame rate, as if there is a manual restart triggered on every slow frame.

alisaad673 commented 2 years ago

Fixed: https://github.com/webaverse/app/pull/3422