fix(physics): apply predicted record broadphase
Use unresolved type-one/type-two candidates in the production scan and gate detection on the original predicted-position bounds with the registered five-pixel ball margin. This restores the 1000:9b69 broadphase, including overshoot rejection, while keeping late response resolution ready for ordered type-three/type-four integration. Test Plan: - cargo test --all-targets - cargo clippy --all-targets --all-features -- -D warnings - rumdl check CHANGELOG.md RECONSTRUCTION.md README.md - git diff --check
This commit is contained in:
@@ -373,6 +373,7 @@ pub fn line_collision_candidate(
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn line_collision_response(
|
||||
old_position: MilliVec,
|
||||
velocity: MilliVec,
|
||||
@@ -451,6 +452,7 @@ pub fn circle_collision_candidate(
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn circle_collision_response(
|
||||
old_position: MilliVec,
|
||||
velocity: MilliVec,
|
||||
|
||||
Reference in New Issue
Block a user