mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-17 22:38:01 +02:00
fuel gauge fixed
This commit is contained in:
parent
a78e6418a8
commit
92f32b2cc0
@ -727,7 +727,7 @@ minetest.register_entity("automobiles_trans_am:trans_am", {
|
|||||||
self._last_ground_check = self._last_ground_check + dtime
|
self._last_ground_check = self._last_ground_check + dtime
|
||||||
if self._last_ground_check > 0.18 then
|
if self._last_ground_check > 0.18 then
|
||||||
self._last_ground_check = 0
|
self._last_ground_check = 0
|
||||||
automobiles_lib.ground_get_distances(self, 0.372, 3.0)
|
automobiles_lib.ground_get_distances(self, 0.372, 2.7)
|
||||||
end
|
end
|
||||||
local newpitch = self._pitch --velocity.y * math.rad(6)
|
local newpitch = self._pitch --velocity.y * math.rad(6)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ trans_am.trunk_slots = 12
|
|||||||
trans_am.ideal_step = 0.2
|
trans_am.ideal_step = 0.2
|
||||||
trans_am.engine_sound = "automobiles_engine"
|
trans_am.engine_sound = "automobiles_engine"
|
||||||
|
|
||||||
trans_am_GAUGE_FUEL_POSITION = {x=-4.47,y=8.50,z=20.5}
|
trans_am_GAUGE_FUEL_POSITION = {x=-4,y=6.8,z=16.6}
|
||||||
|
|
||||||
trans_am.front_wheel_xpos = 9.5
|
trans_am.front_wheel_xpos = 9.5
|
||||||
trans_am.rear_wheel_xpos = 9.5
|
trans_am.rear_wheel_xpos = 9.5
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.4 KiB |
Loading…
Reference in New Issue
Block a user