kevinortegren / zombieshroom

Large game project
11 stars 2 forks source link

Jitter #79

Closed rarosu closed 10 years ago

rarosu commented 10 years ago

Noticable jitter when moving and jumping (mainly jumping). Affecting animations and transform. Can be repeated on the network2 branch.

rarosu commented 10 years ago

Position jitter has been removed entirely by letting player command messages be sequenced (i.e. discarding old messages if we have received a newer one). This was possible to do since all reliable parts of the message (such as ability activate) has been extracted to their own, reliable messages.

Still some animation jitter.

rarosu commented 10 years ago

By removing extrapolation on the player (the extrapolation done when receiving PlayerCommands, not the extrapolation done by the action system) and adding interpolated rendering positions, the jitter seems to be gone.