change each gameobject's name to its file name (I can access the file name, just need to access the gameobject).ģ. on start: load all the obj files within a given folder (I'm able to do this now).Ģ. Because I wont know what these names will be at runtime, I have no way of accessing those gam objects to name them appropriately. However the names of the loaded gameobjects are some strange long descriptions that was most likely inside their. I am loading multiple files on start, so I use: Update notices are sent out automatically for new versions, but you need to make sure you opt in to that (if you don't, then I can't send any update notices to you), and you might also want to check your spam folder. If you bought from my site and don't have the latest version (currently 2.0), send me a PM with the address you used when buying. If you have any questions, find any bugs, or have any feature suggestions, post them here. Note that ConvertFile won't work in a webplayer due to Unity restrictions on accessing external files. With ConvertFile, you provide a complete file path, and ObjReader will load that, and optionally look for the appropriate. mtl files that you can load from arbitrary sources, including the web. With ConvertString, you can provide strings for the. There are two functions, ConvertString and ConvertFile. Can apply arbitrary scaling, rotation, and position to the imported mesh.Can compute tangents for use with bumpmapped shaders.If combined into one GameObject, different groups can be submeshes or not.obj file be separate GameObjects, or combined into one. Can have different groups in the same.Can override ambient, diffuse, and specular colors from the.Support for transparent and opaque materials.mtl files to use for materials, including texture loading (png and jpg format only). obj files at runtime with a high degree of compatibility, quickly. Yes, the ridiculously-overdue version 2.0 is out, with MTL support. Available on my site and the Unity asset store. It works on all platforms, and with all languages. obj files at eat for modding and other user-created content. Version 2.0 is out now! ObjReader loads arbitrary. This has been around a while, but I didn't have a separate topic for it.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |