mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-17 22:38:01 +02:00
drive wheel adjusted
This commit is contained in:
parent
5b6eb9fc05
commit
3c554f1ce7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user