Should it be like that?
I understand where the entity appears in this case:
pc.app.root.findByName('Root').addChild(entity);
But how about:
pc.app.root.addChild(entity);
Should it be like that?
I understand where the entity appears in this case:
pc.app.root.findByName('Root').addChild(entity);
But how about:
pc.app.root.addChild(entity);
Hi @Newbie_Coder,
Since new scenes can be loaded additively, and each of those scenes has a root of its own (Each of which can have their own name), it makes sense to have another level above those scene roots to act as the base for the entire application.
I hope this information is helpful.