Hey, i'm beginning to look into ECS, but having alot of difficulty finding resources.
I'm trying to start basic, such as "create entities that move and add health components". I've added a physics component and I'm trying to make an overlap sphere interact with it.
I can see that the entity has all the components it should need.
The issue is its unclear if gameobjects can communicate with entities.
I want to keep the player a gameobject type, but make all enemies ECS since the plan is for mass spawning and performance on that end.
Though most resources are entity player/projectiles communicating with entitie enemies.
I haven't found a resource where its "overlap sphere accesses health component/spawn damage component to damage enemy"
Can physics overlap even affect the entity? I was reading that may not be possible, and it needs an entirely different setup since subscene and scene are like two planes of reality in a way.
The only thing i can think of is spawning an entity compatable object at the player gameobjects location, but it spawns inside the subscene where the entities can see it and be affected by it. is that the only way to do it?