Field manualСправочник / MechanicsМеханика
TruckPhysicsSystem
src/DustConvoy.Sim/Systems/TruckPhysicsSystem.cs
ConstantsКонстанты
| NameИмя | ValueЗначение | NoteЗаметка |
|---|---|---|
SteerRate | 2.45f; // rad/s the steering angle can change /// <summary>Full lock is this share of the truck's authored angle. Halfway between the old full lock and the slower one.</summary> public const float SteerScale = 0.79f | |
RamDamageSpeed | 3f; // relative speed above which ramming hurts public const float RamDamageScale = 2.5f | |
WallDamageScale | 1.5f | |
TrackMinDistance | 0.8f | |
BoostSpeed | 1.35f | Shift while driving: top speed and pull multipliers, paid for with this much fuel per meter. |
BoostAccel | 1.8f | |
BoostFuelBurn | 3f | |
RedlineBurn | 2f | Speed above the unboosted top (the red zone on the gauge) burns this many times the fuel that pace would. |
ParkingBrake | 0.6f | Share of full braking applied while nobody sits at the wheel. |
SlipShare | 0.35f | Share of a turn's sideways pull the tyres let through as slide (at SlipFullSpeed and up). |
SlipFullSpeed | 9f | |
Grip | 3.5f | How fast grip kills slide (1/s): the hull straightens out in well under a second. |
SlideCapShare | 0.3f | Slide never exceeds this share of forward speed. |
PropSmashSpeed | 5f | Below this speed a truck just bumps props; above it the excess speed turns into prop damage. |
PropRamDamageScale | 28f | |
SmashSpeedKeep | 0.65f | Fraction of speed a light hull keeps after ploughing through a prop. Heavier trucks keep more. |
BushCrushSpeed | 2f |