Repository navigation
fix: solve a sleeping island's contacts on the step a new contact wakes it - #1080
Open
kylegrahammatzen wants to merge 2 commits into
Open
kylegrahammatzen wants to merge 2 commits into
kylegrahammatzen wants to merge 2 commits into
Conversation
…es it Falling asleep count-clears the solver hints of the island's pairs, and only the next pair update restores them. A wake from a new contact happens after this step's pair update, so the island fell freely for that step. The woken bodies' pairs now get their hints back right away, and are flagged so that the next graph maintenance puts them back in the force-event list.
The parallel-path parity scene drops boxes onto a sleeping pile, so its golden hash changes with the fix. All three builds agree on the new one.
kylegrahammatzen
force-pushed
the
fix/contact-wake-solver-hints
branch
from
November 21, 2026 17:46
fca4be3 to
eb84715
Compare
This branch has not been deployed
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.
When a falling box lands on a sleeping pile, the whole pile drops through one step of free fall before its contacts catch it, because falling asleep clears the solver hints of the pile's contact pairs and a wake from a new contact happens after this step's pair update, so none of those contacts reach the solver until the next step.
Now the pairs of the bodies a new contact wakes get their hints back in the same step, as they already did for a wake from
wake_up.The parity golden is re-minted because its scene drops boxes onto a sleeping pile, with every build agreeing on the new hash, and the snapshot goldens don't change.