From 03a75522483ace55bf4ea945e4b459af6c66fd47 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 7 Sep 2023 20:08:07 -0700 Subject: [PATCH] blueprint sweep --- src/body.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/body.rs b/src/body.rs index 82725504..6af45db2 100644 --- a/src/body.rs +++ b/src/body.rs @@ -109,4 +109,11 @@ impl crate::event::EventTrait for PhysicsState { collect_event(self.next_strafe_event()); best_event } +} + +impl crate::sweep::PredictCollision for Model { + fn predict_collision(&self,other:&Model) -> Option { + //math! + None + } } \ No newline at end of file