1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 15:00:18 +01:00

Carts: Stronger handbrake

Handbrake was barely noticeable and fairly useless.
Equalisng with brake rail deceleration makes it more intuitive to use
and easier to judge stopping distance.
This commit is contained in:
paramat 2016-12-07 03:23:03 +00:00
parent 4a5206e3a7
commit 3e5852993d

View File

@ -272,9 +272,9 @@ local function rail_on_step(self, dtime)
-- Try to make it similar to the original carts mod
acc = acc + speed_mod
else
-- Handbrake
-- Handbrake or coast
if ctrl and ctrl.down then
acc = acc - 1.6
acc = acc - 3
else
acc = acc - 0.4
end