Vehicle keyboard steering!

Steering: Direction keys
Handbrake: Right control
This commit is contained in:
2014-04-22 01:46:29 +02:00
parent 4e5038a163
commit d2f3adb07e
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -53,6 +53,7 @@ void GameWorld::Initialize()
box->Height = 0.5f;
box->Depth = 2.5f;
auto vehicle = AddComponent<Components::Vehicle>(car, "Vehicle");
AddComponent<Components::Input>(car, "Input");
}
for(int i = 0; i < 50; i++)