We can now export and import collision meshes :D
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user