kevinshen56714/SkyOffice

[BUG] Walking glitch

nepalivai opened this issue · 1 comments

Discription

This bug happens when you are walking and suddenly you open chat. For a few seconds the avatar keeps on walking in that direction only and the opposite direction button does not work

how to copy

  1. keep walking in a single direction/ axis.
  2. open chat without stopping to walk.
  3. close chat.
  4. see bug.

expected behaviour

The avatar stops to walk as soon as the chat opens.

this is a common issue in games where an input event like pressing a movement key (e.g., W, A, S, D or arrow keys) continues to be registered even after a UI interaction (like opening the chat) because the input release event doesn’t get registered.