mirror of
https://github.com/APercy/automobiles_pck
synced 2025-09-16 08:26:23 +02:00
fix
This commit is contained in:
parent
0ffeb3bfbd
commit
fd33561d81
@ -449,7 +449,7 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
|||||||
local steering_angle_max = 30
|
local steering_angle_max = 30
|
||||||
local steering_speed = 40
|
local steering_speed = 40
|
||||||
if math.abs(longit_speed) > 1 then
|
if math.abs(longit_speed) > 1 then
|
||||||
steering_speed = steering_speed / (longit_speed/3)
|
steering_speed = steering_speed / (math.abs(longit_speed)/4)
|
||||||
end
|
end
|
||||||
accel, stop = automobiles_lib.control(self, dtime, hull_direction, longit_speed, longit_drag, later_drag, accel, roadster.max_acc_factor, roadster.max_speed, steering_angle_max, steering_speed)
|
accel, stop = automobiles_lib.control(self, dtime, hull_direction, longit_speed, longit_drag, later_drag, accel, roadster.max_acc_factor, roadster.max_speed, steering_angle_max, steering_speed)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user