Best Practices for Making Links between Mozilla Hub Spaces / Rooms
I am looking to make links between different rooms. Not a teleport to a different part of the same room. But to different rooms/spaces/scenes entirely.
I am able to do this and made a prototype. It works, though, I am not sure if I am doing this in an efficient way.
Here is a link to the prototype. I am not sure how long it is valid for but it works today: https://hubs.mozilla.com/mJdiuvW
Before diving into the technical here is WHY I am doing this.
A) I am developing an art gallery type experience and would like to have many things to see. However, if I place them all in one room/space/scene it runs slow because of all the triangles. I don't want to make low-poly versions of everything either.
B) So I thought I could make more than one room/space/scene that you could jump to. Lets just call them Room A & Room B for now as that is what is shown in the example in the link.
Okay great, it works, as a proof of concept, and this will allow me to make a link that enables a user to go to the next room, and then back again. Awesome! Pretty amazing really...
But, I am having a hard time wrapping my head around how to manage it all. Especially if I scale to like 5 rooms or more. Think of a lobby type situation with links to 5 other rooms, all of which have a link in them that goes back to the lobby.
So here are my questions:
1) Can I get a link to a scene/room that always is the same? I have found that to set this up correctly I need to grab a link after these steps: Publish to Hubs -> Open in Hubs -> Create Room With This Scene -> Invite -> Room Link -> Copy.
If I use any URL upstream from this, say in the "Create Room with This Scene" stage it does not seem to work. I have found I need to use the URL from the "Room Link" stage. I could be wrong.
This is all fine but if I make a change to the scene (like place a SketchFab model in one), then do the whole workflow again, I get a different URL.
Where this gets really tricky is I find myself in a "Chicken vs Egg" situation where I need to take this fresh URL from Room A and paste it into the "Link" Element in Room B, save, then do the reverse, but now Room B has a new URL because it was saved, and I need to place that back in Room A; and we are now in an infinite loop...
Is this the best way to do it or am I missing something?
2) Would I have any better luck trying out this workflow on the new Mozilla Hubs Cloud? (Not the AWS one, the beta trial thing).
For instance, would this give me better control over room URL and the Links? Maybe be able to get a static link?
3) If this whole thing has lets say 3 unique users in it, users Alice, Bob, & Carol. They all start in Room A. If Alive goes to Room B, and then goes back to Room A, will Bob and Carol still be there or is Alice now in a parallel universe of Room A?
I hope I am describing this problems clearly enough. Once again I am still getting to know the exact language used so I apologize if I made the problem worse by not using link, room, and scene in the correct way.
Anyways, I think this is a pretty stellar workflow and would enjoy figuring out a way to dial it in so we can all jump together from room to room.
Thank you for all the effort thus far this is seriously a really great platform!