diff --git a/game/game.odin b/game/game.odin index 70b3fa1..7a1aa54 100644 --- a/game/game.odin +++ b/game/game.odin @@ -394,7 +394,7 @@ update_runtime_world :: proc(runtime_world: ^Runtime_World, dt: f32) { back_wheels := drive_wheels DRIVE_IMPULSE :: 3000 - BRAKE_IMPULSE :: 500 + BRAKE_IMPULSE :: 10 TURN_ANGLE :: -f32(30) * math.RAD_PER_DEG // 68% front, 32% rear BRAKE_BIAS :: f32(0.68) diff --git a/game/physics/pacejka.odin b/game/physics/pacejka.odin index e389d15..b24cb92 100644 --- a/game/physics/pacejka.odin +++ b/game/physics/pacejka.odin @@ -4,7 +4,7 @@ import "core:math" Pacejka96_Params :: [11]f32 -DEFAULT_PACEJKA96_PARAMS :: Pacejka96_Params{1.65, -200, 1900, 0, 229, 0.0, 0, 0, 0, 0, 0} +DEFAULT_PACEJKA96_PARAMS :: Pacejka96_Params{1.65, -180, 1900, 0, 229, 0.0, 0, 0, 0, 0, 0} // X is slip ratio percentage [-100, 100] or slip angle in degrees, where positive angle is turning left // Output is the friction coefficient