Can I contact you with a question about Rapier?#1
Open
upisfree wants to merge 1 commit intoPoseidonEnergy:devfrom
Open
Can I contact you with a question about Rapier?#1upisfree wants to merge 1 commit intoPoseidonEnergy:devfrom
upisfree wants to merge 1 commit intoPoseidonEnergy:devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello! I tried to find a way to contact you but failed, so I'll leave my contact info here if you want to answer my question :)
I have question regarding your comment in Rapier repository: dimforge/rapier#324 (comment)
You said
I am trying to implement this system too. So, my question is: how did you implement world update with constant rate in browser & node.js? As I understand, you must update client world and server world with the same constant rate if you want to minimize desyncs.
My dynamic bodies are always in desync, especially on collisions between kinematic character controller.
My problem with different world update rate. I tried something like
setInterval(world.step()), but browser and node.js can't have same constant rate of updates and client tend to do more steps and all dynamic bodies are faster than on the server and results are in desync.I tried to use this library for constant rate world updates, but browser tend to update with random rate, not constant.
Thank you very much for your time. If you want, you can answer me here or at email, discord or telegram.