Hallo dear community,
I am pretty impressed by the advantages of an entity component system such as Zay-ES and I really enjoy working with it now. However, I came across a (little) problem. How do you handle entities or components which have visual dependencies? I mean, the basic idea of ECS is to separate game logic and visualization. But there might be cases where things depend on “visualization”.
A pathfinding control for an enemy using NavMesh. Sometimes you want your enemies find their way through the game world but when it comes to things like pathfinding where you need something like a NavMesh it becomes difficult to integrate this in an ECS, or not?
Imagine a player with skeleton and animations who can equip items like a sword to his hand. In this case the animations of the player would modify the Transform component of the sword entity. Here you also depend on visual components.
How can this be handled best with Zay-ES?