This commit is contained in:
Quaternions 2024-08-20 15:25:07 -07:00
parent 0676007430
commit 50726199b9

View File

@ -1896,6 +1896,7 @@ fn atomic_input_instruction(state:&mut PhysicsState,data:&PhysicsData,ins:TimedI
if b_refresh_walk_target{ if b_refresh_walk_target{
state.apply_input_and_body(data); state.apply_input_and_body(data);
state.cull_velocity(data,state.body.velocity); state.cull_velocity(data,state.body.velocity);
//also check if accelerating away from surface
} }
} }