Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Rework clock synchronization #33

@vladbat00

Description

@vladbat00

Currently, the client itself tries to predict how much it should be ahead of the server, which is sometimes inaccurate.

We can use the approach highlighted in this RFC discussion:
bevyengine/rfcs#19 (comment)

Currently, calculating how many frames ahead the client wants to be happens at process_delta_update_message. The server can additionally supply a signed integer in the DeltaUpdate message: if it's a negative number it would mean that the client has to be more ahead of the server, otherwise - less.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions