Vehicle component based, wheel rotation and position not working.

This commit is contained in:
ViktorLjung
2014-04-22 19:14:35 +02:00
parent f0b2f2a659
commit eb6cc266a3
7 changed files with 410 additions and 18 deletions
+4 -2
View File
@@ -3,13 +3,15 @@
#include "Component.h"
namespace Components
{
struct Vehicle : Component
{
struct Vehicle : Component
{
Vehicle()
: MaxTorque(500.0f), MinRPM(1000.0f), OptimalRPM(5500.0f), MaxRPM(7500.0f), MaxSteeringAngle(35), TopSpeed(50.0f) { }
float MaxTorque;
float MinRPM;
float OptimalRPM;