diff --git a/src/physics.rs b/src/physics.rs index d81638c..36edcf3 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -613,7 +613,16 @@ impl StyleModifiers{ //two fixes: //- ladder movement is not allowed on walkable surfaces //- fix the underlying issue - normal.cross(control_dir).cross(*normal)*(self.ladder_speed/(n*(n*n-d*d).sqrt())) + if d.get().unsigned_abs()Planar64Vec3{ let camera_mat=camera.simulate_move_rotation(camera.mouse.lerp(&next_mouse,time));