Myrmidon icon indicating copy to clipboard operation
Myrmidon copied to clipboard

Sub-Entities

Open Frimkron opened this issue 9 years ago • 0 comments

It would be cool if entities could be attached to a parent entity so that all positioning, scaling, rotation, z-indexing, etc is relative to the parent (a bit like a scene graph). Additionally these entities would be destroyed when the parent is destroyed.

One issue with this is that of naming. We already have the concept of a parent, child and sibling, and these mean something else (is that feature really necessary?). One naming option is to refer to them as sub and super entities, though this could be confused with object inheritence.

Frimkron avatar Feb 11 '15 17:02 Frimkron