From 6d3ff8490dd873dbf6b116619243a70b379eb688 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Nov 2023 19:44:32 -0800 Subject: [PATCH] expect a particular time of collision --- src/physics.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index ddfefbf..f25add7 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1650,15 +1650,14 @@ impl crate::instruction::InstructionConsumer for PhysicsStat } #[allow(dead_code)] -fn hit_the_ground(relative_body:Body){ +fn hit_the_ground(relative_body:Body,expected_collision_time:Option