Closed diwant closed 4 years ago
Thanks @Noofbiz ! I will return to this to write some test cases, that is a good idea and can engender confidence in the system working as well as show us where it's not behaving as expected. So far, I've been testing it with what I see on screen, but a set of unit tests would do the same and we can build from there. I might take a little bit to return to this, so I'll check back here before I pick this code back up to see if there are updates.
I actually realized ecs.BasicEntity
already had the capability, but needed a method for getting all descendants as well. I added a demo that uses this and creates the same kind of effects this would have, only you could use it for anything, not just space components. Thanks for all the work!
Not ready for merge yet, as heirarchical transformations don't work yet.
For this issue: https://github.com/EngoEngine/engo/issues/555