So it took me more than two days!
This is my take on teleporting in world and in VR
Even if you have no scripting knowledge you can setup a Teleport Hub
run this script from url:
it wil create a platform hub with 8 gates:
a client script will run that has 4 keyboard shortcuts:
You current position and orientation and domain will be saved to the clipboard.
When you stand close to one of the gates and press shift+3 the data from the clipboard will be copied in the gate creating a teleport. If the location is on the current domain the gate turns green showing the coordinates, if the domain is outbound it will turn blue and show the name of the domain to teleport to.
When you want to close the gate press shift 2 to reset and close the gate
Teleport directly to the local hub if you are lost or cannot find it.
-Every time you use the gate to travel somewhere a counter on the gate shows how many time the gate is used. If outbound people vistit your hub they can see which destinations are most popular.
-It would be nice to teleport to another domain to a simalr hub. You can make an agreement with the owner of the other domain to make a teleport back. You can jump from domain to domain this way.
-The setup is low poly but nothing stops you from creating your own hub with different graphics.
https://bas-skyspace.ams3.digitaloceanspaces.com/Hub/Gate.js (will be automatically loaded by spawner is handling entering)
https://bas-skyspace.ams3.digitaloceanspaces.com/Hub/HubGate.fbx (model of the gate)
https://bas-skyspace.ams3.digitaloceanspaces.com/Hub/HubPlatform.fbx (model of the platform)
https://bas-skyspace.ams3.digitaloceanspaces.com/Hub/HubTeleportCreator.js (client script handling the shortcuts will be automatically loaded)
Maybe the code is not optimal. I’m not a coder by trade. Improve it to your needs. and have fun with it!