diff --git a/resources/Schema/Entities/Test.xml b/resources/Schema/Entities/Test.xml index 4b8fb132..78494ce1 100644 --- a/resources/Schema/Entities/Test.xml +++ b/resources/Schema/Entities/Test.xml @@ -61,7 +61,7 @@ - + Models/Core/UnitRaptor.obj @@ -72,8 +72,8 @@ - - + + 20 @@ -84,19 +84,7 @@ - - - - - Models/Core/UnitCylinder.obj - - - - - - - - + @@ -109,7 +97,7 @@ - + diff --git a/src/Engine/Rendering/RenderQueueFactory.cpp b/src/Engine/Rendering/RenderQueueFactory.cpp index 81d7391e..4b82647c 100644 --- a/src/Engine/Rendering/RenderQueueFactory.cpp +++ b/src/Engine/Rendering/RenderQueueFactory.cpp @@ -30,7 +30,7 @@ glm::vec3 RenderQueueFactory::AbsolutePosition(World* world, EntityID entity) do { ComponentWrapper transform = world->GetComponent(entity, "Transform"); - position += AbsoluteOrientation(world, entity) * (glm::vec3)transform["Position"]; + position += (glm::vec3)transform["Position"]; entity = world->GetParent(entity); } while (entity != 0);