chris.brown Posted July 31, 2011 Share Posted July 31, 2011 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
chris.brown Posted July 31, 2011 Author Share Posted July 31, 2011 Solved it. I was translating the mesh, and not the reference. Link to comment
Recommended Posts