Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Network] - Snapshot Rate #13

Open
Kehom opened this issue Jul 13, 2020 · 5 comments
Open

[Network] - Snapshot Rate #13

Kehom opened this issue Jul 13, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@Kehom
Copy link
Owner

Kehom commented Jul 13, 2020

Allow clients to specify the rate in which snapshots will be sent, which could be at a lower pace than that of the simulation itself.

@Kehom Kehom added the enhancement New feature or request label Jul 13, 2020
@Kehom Kehom added this to To do in Godot Addon Pack via automation Jul 13, 2020
@yuraj11
Copy link
Contributor

yuraj11 commented Jul 14, 2020

This will probably require additional interpolation on clients, right? If yes I am thinking If this could be another subtask for this to do some default interpolation when using vector (position, rotation) and explicitly set flag to interpolate.

@fairhat
Copy link
Contributor

fairhat commented Jul 14, 2020

This will probably require additional interpolation on clients, right? If yes I am thinking If this could be another subtask for this to do some default interpolation when using vector (position, rotation) and explicitly set flag to interpolate.

Maybe this already does the job? http://kehomsforge.com/tutorials/multi/GodotAddonPack/part04/

@Kehom
Copy link
Owner Author

Kehom commented Jul 14, 2020

This will probably require additional interpolation on clients, right? If yes I am thinking If this could be another subtask for this to do some default interpolation when using vector (position, rotation) and explicitly set flag to interpolate.

Reducing the snapshot rate that is sent to the client will only look good if the client side prediction is "doing its job". It should not result in additional interpolation since this is actually done only between physics updates (if at all - interpolation itself is not done by the network addon).

That said, the option to reduce the snapshot rate is a trade off. Because this setting can result in poorer experience to the player, when this feature get added I will include a suggestion that the game also provide this as something the player can modify in the settings window, making it very clear the trade off. Less bandwidth for a possible loss in the quality of the simulation. Note that if everything is re-simulated, the only agents that will probably look weird are player characters if the snapshot rate is too low.

@yuraj11
Copy link
Contributor

yuraj11 commented Dec 11, 2020

This would be useful together with culling to optimize bandwidth. BTW Is it currently possible to turn off delta updates for specific entity? Let's say I don't want delta updates for player entities.

@Kehom
Copy link
Owner Author

Kehom commented Dec 30, 2020

Currently there is no way to disable deltas for some specific entity types. I'm evaluating a few options to provide this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants