Killer.Penguin Posted January 30, 2014 Share Posted January 30, 2014 So I have this character setup in the unigine editor. How do I save its node into a .node file like the one in the sample? (demo/character/nodes/agent.node) Is there anyway to do this right from the Unigine Editor? Link to comment
silent Posted January 30, 2014 Share Posted January 30, 2014 Hi, You can use "Export selected node with all children into a file" button to export hierarchy to the single *.node file. Or you can use engine.world.saveNode("export_name.node",Node,1) from script. Last integer parameter will export materials settings too (set it to 0 if you don't want to export material settings). How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Killer.Penguin Posted January 30, 2014 Author Share Posted January 30, 2014 Oh gosh I just couldn't find that button yesterday... and I was copy and pasting all <node> heirachy into seperated files. rofl Thx. Link to comment
Killer.Penguin Posted January 30, 2014 Author Share Posted January 30, 2014 I noticed that once it loaded the saved file back into the world, the cloth mesh is gone.. Am I doing something wrong? Link to comment
Killer.Penguin Posted January 30, 2014 Author Share Posted January 30, 2014 Never mind, I figured it out. The cloth mesh was loaded when the game wasn't ready so it didn't appear. Link to comment
Recommended Posts