Skip to content
New issue

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

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

Already on GitHub? # to your account

Rollback improvements #799

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Rollback improvements #799

merged 1 commit into from
Jan 11, 2025

Conversation

cBournhonesque
Copy link
Owner

  1. If visual-interpolation runs in PostUpdate before Send, then the server might send visually-interpolated values (if VisualInterpolation is enabled). This will mess up rollback on the client, so we add an ordering constraints

  2. Disable Sleeping on the client in avian3d as this messes up with rollback

  3. Add ExternalForce and ExternalImpulse to rollback as those are used in the player movement

This configuration has no rollbacks, but rollbacks happen if the Block rigid bodies are added

@cBournhonesque cBournhonesque added A-Prediction C-Example A change/addition to an example labels Jan 11, 2025
@cBournhonesque cBournhonesque merged commit e82804c into main Jan 11, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-Prediction C-Example A change/addition to an example
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant