diff --git a/src/physics.rs b/src/physics.rs index 4b90028..fe952cb 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -500,6 +500,7 @@ impl MoveState{ }, _=>(), } + self.apply_to_body(body,touching,models,hitbox_mesh,style,camera,input_state); } //function to coerce &mut self into &self fn apply_to_body(&self,body:&mut Body,touching:&TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,style:&StyleModifiers,camera:&PhysicsCamera,input_state:&InputState){