Jump to content

[SOLVED] How do I save a node from Editor to a .node file?


photo

Recommended Posts

Posted

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?

Posted

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:

Posted

Oh gosh I just couldn't find that button yesterday... and I was copy and pasting all <node> heirachy into seperated files. rofl

 

Thx.

Posted

I noticed that once it loaded the saved file back into the world, the cloth mesh is gone..

 

Am I doing something wrong?

Posted

Never mind, I figured it out. The cloth mesh was loaded when the game wasn't ready so it didn't appear.

×
×
  • Create New...