Jump to content

Saving node reference transforms...


photo

Recommended Posts

I'm in the process of replacing ObjectMeshes for certain objects in the world with NodeReferences. I've written a script that will create NodeReferences for each of the objects that are getting replaced, then setting their world transforms to match the transforms of the objects they're replacing. After the references have their transforms set, the ObjectMeshes are then removed. Everything works great, but if I try to save the world none of the NodeReferences have their world transforms saved. Looking at the world file, they are all identity matricies. Is there some way I can save the world transforms of my newly placed NodeReferences?

Link to comment
×
×
  • Create New...