many-realities-studio / realityflow-old

GNU Affero General Public License v3.0
2 stars 1 forks source link

Sketchfab - Server Side Updates #125

Open Morgan-Wilkinson opened 3 years ago

Morgan-Wilkinson commented 3 years ago

Sketchfab 3D model importation is currently local side only. The next step for this is to update the importer so that it sends messages to the server so that other clients in the scene can receive those updates and download that model.

You should first work on getting the gameobject into a FlowTObject and then send a server-side update to all the other clients that would have the url that’s needed to download that specific model.

In that server-side message it should prompt all the other clients to download that model using the provided url.

Also not related to this but it would be best to set the importer to add the model materials to the Assets folder once the application is going to be killed maybe by calling MonoBehaviour.OnApplicationQuit()