this is wrong, even when velocity is zero

This commit is contained in:
Quaternions 2024-08-01 14:50:51 -07:00
parent 305017c6c8
commit 099788b746

View File

@ -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