From fc751a9fe8d85b54db3fa88c2f8e5463fec83e92 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 7 Sep 2023 20:08:07 -0700 Subject: [PATCH] stage sweep --- src/sweep.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/sweep.rs diff --git a/src/sweep.rs b/src/sweep.rs new file mode 100644 index 00000000..428063fe --- /dev/null +++ b/src/sweep.rs @@ -0,0 +1,8 @@ + +//something that implements body + hitbox + transform can predict collision +impl crate::sweep::PredictCollision for Model { + fn predict_collision(&self,other:&Model) -> Option { + //math! + None + } +} \ No newline at end of file