GLTF Model in Assets URL

I am looking to swap out GLTF models at runtime in Studio, but the code for this only seems to work with a url and doesnt seem to accept the ‘./assets’ style url that you would use to access the projects assets? Is there a better way of doing this? As I have managed to do this using the download url of the asset in the assets folder but this doesnt feel like the correct way to do this

I found

Hi Sam!

//@asset on the schema field will turn it into an asset selector.

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.