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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user