new cars and maps
This commit is contained in:
@@ -117,10 +117,10 @@ public partial class Clutch : PowertrainComponent
|
||||
ClutchInput = 1f;
|
||||
}
|
||||
|
||||
if ( Controller.SwappedBrakes > 0 )
|
||||
{
|
||||
ClutchInput = 0;
|
||||
}
|
||||
//if ( Controller.SwappedBrakes > 0 )
|
||||
//{
|
||||
// ClutchInput = 0;
|
||||
//}
|
||||
}
|
||||
if ( Controller.IsClutching > 0 )
|
||||
{
|
||||
|
||||
@@ -334,7 +334,7 @@ public class Engine : PowertrainComponent, IScenePhysicsEvents
|
||||
// Calculate generated torque and power
|
||||
float generatedTorque = CalculateTorqueICE( OutputAngularVelocity, dt );
|
||||
generatedPower = TorqueToPowerInKW( in OutputAngularVelocity, in generatedTorque );
|
||||
|
||||
|
||||
// Calculate reaction torque
|
||||
float reactionTorque = (targetAngularVelocity - OutputAngularVelocity) * Inertia / dt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user