Component based game engine issue
- by Mathias Hölzl
We are just switching from a hierarchy based game engine to a component based game engine. My problem is that when I load a model which has has a hierarchy of meshes and the way I understand is that a entity in a component based system can not have multiple components of the same type, but I need a "meshComponent" for each mesh in a model. So how could I solve this problem.
On this side they implemented a Component based game engine:
http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/