Repository navigation
feat(physics): add Physics Play mechanics demos - #4
Merged
Merged
Conversation
MemerGamer
force-pushed
the
feat/physics
branch
from
November 23, 2026 08:06
c7b5ca8 to
1766a09
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review round on the Physics Play community plugin: - Dominoes: add the opposite vertex-face contact (the next block's bottom-left/top-left corner on the leaning block's right face, whose lower endpoint becomes the near end of the top edge once flat) and rest each block on the stricter support limit, so neighbours never overlap. A separating-axis test keeps overlap below 1 mm for 6 and 12 rows over the whole replay. - Launcher: apply the configured restitution at the domino impact instead of stopping the ball dead; it now rebounds at e * v as the impulse math says. - Collision: default friction drops to 0 so the disk demo stays in motion, and the momentum readout is labelled "not conserved" whenever walls or the floor exchange momentum (gravity included). The README recipe stays exact: restitution 1 preserves 12.5 J, restitution 0 leaves 2.5 m/s and 6.25 J. - Projectile: velocity arrows clip at the ground line and against other bodies (swept-disk clearance), the readout names the launch angle of the highlighted body, and angle 0 or speed 0 keep a metre scale with a sensible readout. - Packaging: drop the unused rapier2d license file from assets and the bundle; NOTICE records the spike as evaluated, not used. Restore the molecule registry fields lost in the rebase and keep the registry description in sync with plugin.toml. - Tests: default-scene readout values, domino non-penetration, collision liveness with the defaults, and measured solver-work bounds matching the README's per-step budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MemerGamer
force-pushed
the
feat/physics
branch
from
November 23, 2026 09:07
1766a09 to
e030dd2
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Review fixes (
fix(physics))plugin.toml.Verification
scripts/registry.py validateand the README table check pass.Screenshots
🤖 Generated with Claude Code