forked from StrafesNET/strafe-client
this is wrong, even when velocity is zero
This commit is contained in:
parent
305017c6c8
commit
099788b746
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user