diff --git a/res/scripts/components/mob.lua b/res/scripts/components/mob.lua index 783506a1..840aba42 100644 --- a/res/scripts/components/mob.lua +++ b/res/scripts/components/mob.lua @@ -125,7 +125,7 @@ function on_physics_update(tps) jump() end body:set_vdamping(flight) - body:set_gravity_scale(flight and 0.0 or props.gravity_scale) + body:set_gravity_scale({0, flight and 0.0 or props.gravity_scale, 0}) body:set_linear_damping( (flight or not grounded) and props.air_damping or props.ground_damping )