|
|
|
|
|
by noelwelsh
826 days ago
|
|
ECS is basically a very simple relational database. There is no equivalent of foreign keys or other constraints between components. I can't say, for example, "every entity that has a location must also have an associated mesh". If I forget to add a component it's just a silent failure. Everything runs fine, just the expected result doesn't happen. |
|
[1] https://zig.news/kristoff/struct-of-arrays-soa-in-zig-easy-i...