What is the most innovative thing you have seen in ECS?
Personally, finding out that implementing state machines can be as easy as adding/removing a component for transitioning between states was inspiring.
What is the most innovative thing you have seen in ECS?
Personally, finding out that implementing state machines can be as easy as adding/removing a component for transitioning between states was inspiring.
I don’t think that a statemachine via add/remove is a good example. It’s probably the worst thing you can do in ECS in terms of performance. What you want instead are enableable components.
Besides performance, which is through the roof, and the whole aspects of data oriented design which make architecture much nicer and stable, for one specific implementation, I’d probably go with EntityQuery
, the concept to have global data which can be filtered and queried in nearly all possible ways is something I’d miss dearly in OOP projects.
I think it’s the wonderful implementation of Burst + Jobs + ECS together. Making the whole ECS implementation unmanaged so we can leverage Burst, furthermore automatic Job dependency management determined by which components you read-write inside the system