forked from StrafesNET/strafe-client
this is wrong, even when velocity is zero
This commit is contained in:
parent
3f880b5c47
commit
5b6291b823
@ -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