Unity folk: Is there a script that can save the mesh-asset from a model? Bonus points if I can change the pivot point.
@docky AssetDatabase.CreateAsset(mesh, path); http://docs.unity3d.com/ScriptReference/AssetDatabase.CreateAsset.html … ? (if you want to modify it, delete (DeleteAsset) then recreate it)
-
-
@increpare ah thanks. I just stumbled across this, but I'll write and share a little script. I'll use DeleteAsset for changes. :) -
@docky@increpare http://www.ni2.se/temp/NiMeshSaver.cs … <-- Put this in an Editor folder. Only limit is that it doesn't work with submeshes yet. - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.