From 5b6291b8231e3d1ad31b95274eae650bf9493aae Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 1 Aug 2024 14:50:51 -0700 Subject: [PATCH] this is wrong, even when velocity is zero --- src/physics.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index 7f79614..1196f2c 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1556,9 +1556,6 @@ fn atomic_input_instruction(state:&mut PhysicsState,data:&PhysicsData,ins:TimedI |PhysicsInputInstruction::SetMoveUp(..) |PhysicsInputInstruction::SetMoveDown(..) |PhysicsInputInstruction::SetJump(..)=>{ - //technically this could be refined further - //and only advance if you are moving relative to the contact - //but this is good enough for now match &state.move_state{ MoveState::Fly |MoveState::Water