Some fixes to the brick models

This commit is contained in:
viktorljung
2015-10-06 15:30:11 +02:00
parent 43e0a5b699
commit 791c3ce69c
4 changed files with 352 additions and 352 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ void dd::Systems::LevelSystem::CreateBrick(int row, int line, glm::vec2 spacesBe
auto model = m_World->AddComponent<Components::Model>(brick);
std::shared_ptr<Components::Brick> cBrick = m_World->AddComponent<Components::Brick>(brick);
std::shared_ptr<Components::RectangleShape> rectangleShape = m_World->AddComponent<Components::RectangleShape>(brick);
rectangleShape->Dimensions = glm::vec2(1.f, 0.4f);
rectangleShape->Dimensions = glm::vec2(0.95f, 0.35f);
std::shared_ptr<Components::Physics> cPhys = m_World->AddComponent<Components::Physics>(brick);
cPhys->CollisionType = CollisionType::Type::Dynamic;
cPhys->GravityScale = 0.f;