chao.zhang Posted September 10, 2012 Share Posted September 10, 2012 Hello all, how could I append one world scene to an existing world scene at runtime? what script functions or console commands should do this? I know how to append scene in editor but i don't know how to realize in world script by script functions or console commands. Also the document didn't give any clue. Should anybody know please help, thanks in advance. Link to comment
frustum Posted September 10, 2012 Share Posted September 10, 2012 engine.world.addWorld("my.world"); Link to comment
ivan.cuevas Posted September 10, 2012 Share Posted September 10, 2012 You can use node_load() to add new nodes to the scene and engine.editor.addNode() if you need to modify it with UnigineEditor. Link to comment
Recommended Posts