more realistic settings, changed engine sound

This commit is contained in:
max
2026-03-26 12:12:11 +01:00
parent e156122357
commit fcfe67b02a
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ namespace Car_simulation.Core.Components
public WheelSystem WheelSystem { get; private set; }
private int _currentGear = 1;
public float[] GearRatios { get; set; } = { 3.8f, 2.5f, 1.8f, 1.3f, 1.0f, 0.8f, 0.65f };
public float[] GearRatios { get; set; } = { 3.8f, 2.5f, 1.8f, 1.3f, 1.0f, 0.8f};
public float FinalDriveRatio { get; set; } = 4.0f;
public float Efficiency { get; set; } = 0.95f;
public float ClutchEngagement { get; set; } = 0f;

View File

@@ -7,7 +7,7 @@ namespace Car_simulation.Core.Components
// Physical properties
public float Radius { get; set; } = 0.3f;
public float WheelInertia { get; set; } = 2.0f;
public float CarMass { get; set; } = 1500f;
public float CarMass;
public int WheelCount { get; set; } = 4;
public int DrivenWheels { get; set; } = 2;

View File

@@ -8,7 +8,7 @@ namespace Car_simulation.Core.Models
{
// Basic properties
public Vector2 Position = new Vector2(0, 0);
public float Mass { get; set; } = 2000f;
public float Mass { get; set; } = 1400f;
// Inputs
public float ThrottleInput = 0f;