tank stuff
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user