Handling improvements #2

Merged
esensar merged 8 commits from handling-improvements into main 2022-01-24 18:27:22 +00:00
Showing only changes of commit af62cdbafe - Show all commits

View file

@ -198,6 +198,8 @@ func _physics_process(delta: float):
if GlobalSettings.auto_clutch or GlobalSettings.automatic_transmission: if GlobalSettings.auto_clutch or GlobalSettings.automatic_transmission:
clutch_position = 1 - min(rpm, auto_clutch_rpm_limit) / auto_clutch_rpm_limit clutch_position = 1 - min(rpm, auto_clutch_rpm_limit) / auto_clutch_rpm_limit
if throttle == 0.0 and linear_velocity.length() < 1:
clutch_position = 1
if gear_timer > 0: if gear_timer > 0:
clutch_position = 1 clutch_position = 1