I have an app that periodically converts a DICOM-RT medical image to an STL and OBJ file and uploads them to the cloud. In Unity I would like my scene to contain the latest OBJ file, i.e. the Unity will keep checking the web file and if it is updated then it should swap out the current scene object for the new OBJ file.
There's good documentation about loading resources at runtime [here][1] but it seems to need an asset bundle rather than an OBJ file.
Can I dynamically load an OBJ file from the web into my scene in code at runtime?
If not, then is there a way in C# code outside Unity to make a Unity asset bundle from an OBJ file?
[1]: https://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html
↧