Collision & spatial queries · 2 / 10
Continuous Collision Detection / Shape Cast
移動途中も調べて高速物体のすり抜けを防ぐ。
Compare in motion
Interactive model
高速の弾
AReference
フレーム時点の位置だけ判定
BContinuous Collision Detection / Shape Cast100%
速い物体のすり抜けを防げる
Scrub to pause and inspect. At 0%, B matches A; at 100%, B shows the effect. The scene repeats every 8 seconds.
Look for: 移動区間を掃引して調べる → 途中の壁で止まる。
This model simplifies the technique to show its use case and effect. Operation counts describe the model; they are not performance measurements.
Read the storyboard
例: 高速の弾
1. Start
前の位置
2. Change
移動区間を掃引して調べる
3. Result
途中の壁で止まる
How it works
1. Input
移動する形
2. Process
移動区間全体を調べる
3. Result
すり抜けない接触
Further reading
Box2D Collision ↗A general reference for this subcategory.