drive wheel adjusted

This commit is contained in:
Alexsandro Percy 2023-04-29 23:28:59 -03:00
parent 5b6eb9fc05
commit 3c554f1ce7

View File

@ -577,7 +577,7 @@ minetest.register_entity("automobiles_trans_am:trans_am", {
--control
local steering_angle_max = 40
local steering_speed = 80
local steering_speed = 40
if math.abs(longit_speed) > 3 then
local mid_speed = (steering_speed/2)
steering_speed = mid_speed + mid_speed / math.abs(longit_speed*0.25)