Contact listener determinism after deserialization #572
opera-aberglund
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @opera-aberglund , thank you for asking! The questions you've stated are:
Answers:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered some issues with desynchronized state after serialization/deserialization of the world when using contact listeners and creating and destroying some joints based on these callbacks. The issue has been hard to pinpoint, but I have some general questions about contact listeners either way.
For example, if two bodies are currently "in contact" and the BeginContact event has already been triggered, what would happen after serialization/deserialization of the state; would the "BeginContact" event be triggered again? Where is this information about what events have already been triggered stored?
Beta Was this translation helpful? Give feedback.
All reactions