axis distance fix

This commit is contained in:
Alexsandro Percy 2022-09-11 19:40:47 -03:00
parent 0d5bc3af98
commit 6964196f63

View File

@ -452,7 +452,7 @@ minetest.register_entity("automobiles_motorcycle:motorcycle", {
self._last_ground_check = self._last_ground_check + dtime
if self._last_ground_check > 0.18 then
self._last_ground_check = 0
automobiles_lib.ground_get_distances(self, 0.8, 2.3)
automobiles_lib.ground_get_distances(self, 0.6, 2.0)
end
local newpitch = self._pitch --velocity.y * math.rad(6)