FINAL
This commit is contained in:
+4
-2
@@ -120,8 +120,10 @@ void GameWorld::Initialize()
|
|||||||
{
|
{
|
||||||
auto groundshape = CreateEntity(container);
|
auto groundshape = CreateEntity(container);
|
||||||
auto transformshape = AddComponent<Components::Transform>(groundshape, "Transform");
|
auto transformshape = AddComponent<Components::Transform>(groundshape, "Transform");
|
||||||
auto meshShape = AddComponent<Components::MeshShape>(groundshape, "MeshShape");
|
auto boxShape = AddComponent<Components::BoxShape>(groundshape, "BoxShape");
|
||||||
meshShape->ResourceName = "Models/Container/Container.OBJ";
|
boxShape->Width = 3.0f;
|
||||||
|
boxShape->Height = 3.0f;
|
||||||
|
boxShape->Depth = 6.6f;
|
||||||
CommitEntity(groundshape);
|
CommitEntity(groundshape);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user