From a28e7236d4764d72d7bcfbd0d5a9499a1cdffd6f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 7 Sep 2023 20:17:10 -0700 Subject: [PATCH] comment on what can implement predict_collision --- src/body.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/body.rs b/src/body.rs index 6af45db2..1bf34ca5 100644 --- a/src/body.rs +++ b/src/body.rs @@ -111,6 +111,7 @@ impl crate::event::EventTrait for PhysicsState { } } +//something that implements body + hitbox can predict collision impl crate::sweep::PredictCollision for Model { fn predict_collision(&self,other:&Model) -> Option { //math!