Powerup FOV fixed
This commit is contained in:
@@ -55,7 +55,7 @@ void Systems::LevelGenerationSystem::SpawnObstacle()
|
||||
else if(typeRandom >= 5 && typeRandom < 8)
|
||||
{
|
||||
m_World->SetProperty(ent, "Name", std::string("Obstacle"));
|
||||
float scale = (float)(rand() % 1000) / 100;
|
||||
float scale = 1.f + (float)(rand() % 1000) / 100;
|
||||
transform->Scale = glm::vec3(scale);
|
||||
bounds->VolumeVector = glm::vec3(1, 1, 1);
|
||||
bounds->Origin = glm::vec3(0,1,0);
|
||||
|
||||
Reference in New Issue
Block a user