Post by Admin on Jul 16, 2016 4:45:06 GMT
Adam Hill @adamhill Dec 24 2015 00:39
Are there any Entitas examples showing how to integrate colliders and physics into systems and components? I am also wondering about the performance hit for all the 'mirroring' of those systems in Entitas. Should I be worried?
Callum Lawson @callumlawson Dec 24 2015 22:19
Hi people. Firstly a big thank you for making this framework available. As someone just starting with the concepts of ECS it is invaluable to be able to get hands on with some examples!
A quick question, and my apologies if the answer exists. Does it make sense for a system to be removed from a pool? For some examples like CreateFinishLineSystem which have no function after init I wouldn't have been surprised to see this.Destroy or somesuch after its work had been done. Moreover I cannot find .Remove on the Systems object and in other places I might expect it. I can imagine there is very little performance impact of having CreateFinishLineSystem hanging around but I still want to make it be gone in the spirit of not keeping things around that have no function.
I expect this is demonstrating some lack of understanding of how ECS are supposed to work. Any help appreciated!
Are there any Entitas examples showing how to integrate colliders and physics into systems and components? I am also wondering about the performance hit for all the 'mirroring' of those systems in Entitas. Should I be worried?
Callum Lawson @callumlawson Dec 24 2015 22:19
Hi people. Firstly a big thank you for making this framework available. As someone just starting with the concepts of ECS it is invaluable to be able to get hands on with some examples!
A quick question, and my apologies if the answer exists. Does it make sense for a system to be removed from a pool? For some examples like CreateFinishLineSystem which have no function after init I wouldn't have been surprised to see this.Destroy or somesuch after its work had been done. Moreover I cannot find .Remove on the Systems object and in other places I might expect it. I can imagine there is very little performance impact of having CreateFinishLineSystem hanging around but I still want to make it be gone in the spirit of not keeping things around that have no function.
I expect this is demonstrating some lack of understanding of how ECS are supposed to work. Any help appreciated!