Minor - V0.3.0 - Ajoute frein classique et frein à main - V

Adds a traditional brake alongside the existing handbrake functionality.

This change allows for more controlled deceleration using a standard braking system and introduces a brake power parameter in the vehicle controller for further adjustment. The input manager is updated to accommodate a new brake input, and the vehicle controller uses this input to apply a progressive braking force, particularly at lower speeds.

Also corrects a typo in the braking logic.
This commit is contained in:
2026-02-03 19:27:33 +01:00
parent 7a3d9e54c4
commit 8ffb00a024
5 changed files with 162 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ PhysicsMaterial:
m_PrefabAsset: {fileID: 0}
m_Name: Friction
serializedVersion: 2
m_DynamicFriction: 1.000001
m_DynamicFriction: 1
m_StaticFriction: 1
m_Bounciness: 0
m_FrictionCombine: 3