We can now export and import collision meshes :D

This commit is contained in:
Teejoon
2016-02-25 15:39:42 +01:00
parent 9229b77893
commit 669a7d13cf
8 changed files with 153 additions and 24 deletions
+2 -2
View File
@@ -109,8 +109,8 @@ bool SpawnerSystem::spawnedEntityIsColliding(EntityWrapper spawnedEntity, Entity
if (model != nullptr && Collision::AABBvsTriangles(
spawnedBox,
model->Vertices(),
model->m_Indices,
model->CollisionVertices(),
model->CollisionIndices(),
Transform::ModelMatrix(otherEntity))) {
return true;
}