From 0f48a876fab02847d5ecf467f1acfb8108ff8730 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Sun, 11 Sep 2022 19:24:15 -0300 Subject: [PATCH] wheel radius calculation fix --- automobiles_motorcycle/motorcycle_entities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automobiles_motorcycle/motorcycle_entities.lua b/automobiles_motorcycle/motorcycle_entities.lua index bd186f5..f672ed1 100755 --- a/automobiles_motorcycle/motorcycle_entities.lua +++ b/automobiles_motorcycle/motorcycle_entities.lua @@ -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.372, 2.3) + automobiles_lib.ground_get_distances(self, 0.5, 2.3) end local newpitch = self._pitch --velocity.y * math.rad(6)