I’m working on a project and need a TransformNode but don’t have a scene since scenes (which are worlds/saves in said project) are generated dynamically. Except for one issue: Node requires a scene, so it throws an error from the highlighted line:
From an engine perspective, do we need to have a scene with Nodes? There isn’t any geometry, though it could change some behavior (e.g. the getScene() method).
We can have the scene parameter in the constructor be optional and have another method for setting a scene.
The reason I needed a no-scene node was for creating default playerData in the project…
Instead of rewriting the engine, it would make more sense to simply code the project not to need default data, which I’ve been trying to remove anyway…