mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-16 13:58:01 +02:00
improved cars brakes
This commit is contained in:
parent
4e61b4f584
commit
6084a16de9
@ -85,9 +85,9 @@ function automobiles_lib.control(self, dtime, hull_direction, longit_speed, long
|
||||
--wheel break
|
||||
if longit_speed > 0 then
|
||||
acc = -5
|
||||
if (longit_speed + acc) < 0 then
|
||||
--[[if (longit_speed + acc) < 0 then
|
||||
acc = longit_speed * -1
|
||||
end
|
||||
end]]--
|
||||
end
|
||||
if longit_speed < 0 then
|
||||
acc = 5
|
||||
|
Loading…
Reference in New Issue
Block a user