Jeep and tank tuning

This commit is contained in:
ViktorLjung
2014-06-04 05:47:17 +02:00
parent ac855f554b
commit f9f20535ba
13 changed files with 715 additions and 699 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef JeepSteering_h__
#define JeepSteering_h__
#include "Component.h"
namespace Components
{
struct JeepSteering : Component
{
JeepSteering* Clone() const override { return new JeepSteering(*this); }
};
}
#endif // JeepSteering_h__
+2 -2
View File
@@ -10,8 +10,8 @@ namespace Components
struct Vehicle : Component
{
Vehicle()
: MaxTorque(1000.0f), MinRPM(200.0f), OptimalRPM(3000.0f), MaxRPM(6000.0f), MaxSteeringAngle(35), TopSpeed(90.0f),
MaxSpeedFullSteeringAngle(40.0f), SpringDamping(1.f), UpshiftRPM(5500.0f), DownshiftRPM(1000.0f),
: MaxTorque(1000.0f), MinRPM(200.0f), OptimalRPM(2500.0f), MaxRPM(4000.0f), MaxSteeringAngle(35), TopSpeed(90.0f),
MaxSpeedFullSteeringAngle(40.0f), SpringDamping(1.f), UpshiftRPM(3500.0f), DownshiftRPM(1000.0f),
gearsRatio0(3.0f), gearsRatio1(2.25f), gearsRatio2(1.5f), gearsRatio3(1.0f){ }
float MaxTorque;
float MinRPM;