- Home /
Runtime import of Collada files
Are there existing libraries and such to facilitate the import COLLADA files to Unity3d at run time?
Answer by Whimsical · Jun 27, 2011 at 04:43 AM
I guess it is. But only if you write your own Collada interpreter. And you will not be able to save it in a native Unity format either, you will have to write your own serializer for that.
During runtime, all the Editor classes are not available to you for use, so: Yes, you are able to do so. But only if you do this yourself.
I meant to ask if there are existing collada importers that work at runtime..
No, not to my knowledge. However, if you can settle for OBJ ins$$anonymous$$d of DAE, you could use this: http://www.starscenesoftware.com/Utilities.html#ObjReader
Answer by Dunkhan · Jun 27, 2011 at 10:49 AM
I wrote a .x parser and used www for the images for my runtime imports
Answer by Jon-Martin · Jun 27, 2011 at 03:10 PM
Heres one I prepared earlier:- Unity Runtime Import Library
Do be warned, I will be uploading a updated library in the next few weeks which has many fixes, tweaks and one/two really usefull extra features, cheers Jon
try this one first, see if it does the job, works pretty well with max and maya, the newer version works with improvements for sketchup and blender, im currently using it in a project, however in order to hand it over on a plate for all and sundry need to strip out non project related code, so sorry (but it is free, so no right to moan). failing that write one.