Hello,
I know subclassing Node is not recommended, but I can’t find a good way to store/link custom objects in a node:
-
using components:
- adding component is ok
- accessing components is slow (linear search, GetComponent() is in fact a “FindFirstComponent”)
- accessing derived components is slower (linear search + dynamic_cast)
-
using node vars: feels like javascript
-
creating a custom component system: HashSet<Node*, MyCustomObject*>: please no
Is full support for Node subclassing anywhere on the roadmap or even possible?
Thanks!