Skip to content

Conversation

@dwoodruffsf
Copy link
Contributor

I have moved position and rotation to the MLAPI PositionUpdate channel, which is {Unreliable,Sequenced}. This significantly improves the user experience in high packet loss scenarios.

I tested with clumsy, 50ms of bi-directional latency (measuring 250ms RTT in game), and 10% packet loss. Without this change, movement and camera were both horribly janky. After the change, the experience was largely tolerable, with occasional subtle disruptions (not too bad, considering 10% packet loss is pretty rough!)

…nced, unreliable). This significantly improves user experience in high-packet-loss scenarios
Copy link
Contributor

@fernando-cortez fernando-cortez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this before + after this addition with LiteNetLib's injected latency (min 80ms, max 120ms, 10% packet loss).

What was really noticeable was that the big teleports essentially disappeared. We need to document this for easy improvements to movement syncing.

@fernando-cortez fernando-cortez added the 2-One More Review One review in, one to go label May 11, 2021
@Cosmin-B
Copy link
Contributor

@lkrell See above!

@Cosmin-B Cosmin-B merged commit c79e85b into develop May 12, 2021
@fernando-cortez fernando-cortez deleted the bugfix/GOMPS-522 branch May 12, 2021 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2-One More Review One review in, one to go

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants