This commit is contained in:
ViktorLjung
2014-03-13 03:57:15 +01:00
parent 8d88c33d80
commit 6f2ace6de7
2 changed files with 1 additions and 5 deletions
@@ -53,13 +53,9 @@ void Systems::LevelGenerationSystem::SpawnObstacle()
transform->Position = glm::vec3( positionRandom, startyz); // fix position
float scale = (float)(rand() % 1000) / 200;
transform->Scale = glm::vec3(scale);
bounds->VolumeVector = glm::vec3(1, 1, 1);
bounds->Origin = glm::vec3(0,1,0);
model->ModelFile = "Models/obstacle_cube_1.obj";
}
break;
default:
+1 -1
View File
@@ -18,7 +18,7 @@ void Systems::PlayerSystem::UpdateEntity(double dt, EntityID entity, EntityID pa
if (input == nullptr)
return;
float speed = 200.0f;
float speed = 50.0f;
auto name = m_World->GetProperty<std::string>(entity, "Name");
if (name == "Camera") {