Physics stuff

This commit is contained in:
Confideo-IOM
2026-08-25 22:10:54 +01:00
parent 1253571c17
commit 30538ae7ab
59 changed files with 1403 additions and 518 deletions
@@ -54,6 +54,7 @@ public:
}
void EntitySignatureChanged(HydraID entity_id, HydraSignature signature)
{
// Notify each system that an entity's signature changed
for (auto const& pair : m_systems)
{
@@ -68,6 +69,8 @@ public:
{
system->EntitiesToCreate.insert(entity_id);
system->Entities.insert(entity_id);
//system->InitialiseComponent(entity_id);
}
// Entity signature does not match system signature - erase from set
else
@@ -77,6 +80,7 @@ public:
system->EntitiesToCreate.erase(entity_id);
}
}
}
void EntityDeleted(HydraID entity_id)
{