suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 10 forks source link

Jittery Movement while Walking. #2149

Closed Callepo closed 1 year ago

Callepo commented 1 year ago

When player moves normally or sprint, it moves smooth.. But when you walk, movement becomes really jittery, maybe becuase movement speed is lower and , but its really noticeable. maybe lerping not working properly idk.. i tried many different settings, different controllers, used character controller + Open character controller, both same.

https://youtu.be/STXW5gmy9zk

Tried default kit, and saw the same result.

https://youtu.be/lsZdPZIVX3Y

Callepo commented 1 year ago

@insthync Sprint in 1.83g2 is also bugged.. default kit no changes.. Sprint works fine on main client + server view, the speed is adjusted, ur location on server is good.. but everyone else in the game see you teleporting..

Movement speed from character is not changed on other people client.. u see them still move the same speed before they start sprinting.. and than the server location gets out of sync with their client position, so the player rubberband..

Only happens when sprinting..

Same as the above issue with Walking.. Only happens with Walking, even tho u walk the same speed as normal move speed.. So like u put normal speed on 4 and just move, extramovement.none.. ur fine.. u put movespeed 8 and walk is 0.5 speed.. 8*0.5 = 4.. same speed as before, u start jittering..

So the issues are related to the extramovementstates.. Walking and sprinting..

https://github.com/suriyun-production/mmorpg-kit-docs/assets/7702658/dce9f964-e159-4d43-9df0-991c48a229b9

Callepo commented 1 year ago

1.83E2 works fine @insthync so its something in the new versions

image

Think something happened here

insthync commented 1 year ago

Try applying the latest commit: fix: invalid simulate movement state

And no, they are not part of the problem

Callepo commented 1 year ago

Try applying the latest commit: fix: invalid simulate movement state

And no, they are not part of the problem

cool ill check it. Also i didnt check the code changes, i just looked if there was any movement updates in change log and seen that

Callepo commented 1 year ago

@insthync Fixed