tank stuff

This commit is contained in:
ViktorLjung
2014-05-18 21:07:03 +02:00
parent a36d6c554a
commit fd0bb18bd3
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -222,11 +222,12 @@ void GameWorld::Initialize()
transform->Position = glm::vec3(0, 5, 0);
//transform->Orientation = glm::angleAxis(0.f, glm::vec3(0, 1, 0));
auto physics = AddComponent<Components::Physics>(tank);
physics->Mass = 45000;
physics->Mass = 25000;
physics->Static = false;
auto vehicle = AddComponent<Components::Vehicle>(tank);
vehicle->MaxTorque = 5200.f;
vehicle->MaxSteeringAngle = 90.f;
vehicle->MaxSpeedFullSteeringAngle = 4.f;
AddComponent<Components::TankSteering>(tank);
AddComponent<Components::Input>(tank);