brakeforce

This commit is contained in:
2025-07-28 17:58:21 +02:00
parent d5d71ac657
commit 33a83e0f36

View File

@@ -390,7 +390,7 @@ function updateCarControl() {
right: 0, right: 0,
brake: 0, brake: 0,
accelerateForce: { value: 0, min: - 300, max: 600, step: 50 }, accelerateForce: { value: 0, min: - 300, max: 600, step: 50 },
brakeForce: { value: 0, min: 0, max: 350, step: 0.1 } brakeForce: { value: 0, min: 0, max: 20, step: 1 }
}; };
window.addEventListener('keydown', (event) => { window.addEventListener('keydown', (event) => {