mirror of
https://github.com/APercy/automobiles_pck
synced 2025-11-26 00:15:00 +01:00
adjust ground collision from front wheels
This commit is contained in:
parent
42d75a210a
commit
54ae64d283
@ -800,7 +800,7 @@ minetest.register_entity("automobiles_coupe:coupe", {
|
||||
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.372, 2.6)
|
||||
end
|
||||
local newpitch = self._pitch --velocity.y * math.rad(6)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user