mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-22 12:55:49 +02:00
sensitivity adjust
This commit is contained in:
parent
7465e6b57f
commit
0ffeb3bfbd
@ -449,7 +449,7 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
||||
local steering_angle_max = 30
|
||||
local steering_speed = 40
|
||||
if math.abs(longit_speed) > 1 then
|
||||
steering_speed = steering_speed / (longit_speed/2)
|
||||
steering_speed = steering_speed / (longit_speed/3)
|
||||
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)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user