玉2が斜面Cの途中で失速するのを修正#191
Merged
Merged
Conversation
滑走してきた玉2に摩擦がスピンをかけ「滑り→転がり」へ転換する瞬間、 並進速度が回転に食われて速度2.5→0.8に急失速し、以降4秒近く ノロノロ進んでいた(経路が決定論なので毎回同じ場所で失速する)。 frictionを0.001に下げるとグリップ地点が斜面の終端より先に来ず、 加速したまま狐へ届く。0は台の上で眠れなくなりドミノを待たずに 滑り落ちてリレーが崩壊するためNG。Node実測: 鈴→狐 12.2s → 6.9s。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
kojira
pushed a commit
that referenced
this pull request
Jul 20, 2026
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.
原因(Nodeシミュレーションで実測)
玉2は斜面Cに速度3.4で入るが、摩擦がスピンをかけて「滑り→転がり」に転換する瞬間(x≈260、毎回同じ場所)、並進速度が回転に食われて 2.5 → 0.8 に急失速。以降は緩い5.7°の坂では転がりの再加速がほぼ効かず、約4秒ノロノロ進んでいた。
tick単位ログ: x≈258まで回転ゼロで滑走 → x≈258〜272 で角速度が0→0.05に急増しつつ vx 2.3→0.9(v=ωr の転がり条件成立まで速度が食われる)。
修正
玉2の
frictionを 0.01 → 0.001 に(1定数)。グリップ地点が斜面の終端より先に来ないため、加速したまま(3.5→5.0)狐に届く。friction: 0は不可: 台の上でソルバーの微振動を保持できず眠れなくなり、ドミノを待たずに勝手に滑り落ちてリレーが崩壊する(実測で確認)実測(鈴→狐のフル通し)
yarn generate成功。🤖 Generated with Claude Code
https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Generated by Claude Code