mirror of
https://github.com/APercy/automobiles_pck
synced 2025-07-22 06:18:54 +02:00
wheel radius calculation fix
This commit is contained in:
parent
7a0f106c79
commit
0f48a876fa
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user