Dynamic level / position switch

Hey there, do you have a video showing the effect?

Hello everybody,
for a university project i try to create a dynamic level- or position change in VR.
It should be similar to the effect in google earth when switching to street view. You’ll take something and put it on your head/in your face to then switch the level or teleport to a specific location.
I know that some steam VR games are using the same method.
I don’t know what it’s called exactly but i hope you know what i mean.

Hope for your help.
Thank you very much in advance.

Best regards.

Like this at 1:43:50

First of all you have to have a grab functionality working. After that i would say that if the distance between your camera and the center of object you are grabbing is less than a certain value, you set the players location to the new location and attach the object to your “head”.

I’m sorry but what do you mean by attach?

If I understand correctly, the distance is then always very small and you would have an infinite loop, right?
Maybe you’ve an example?

Thank you very much for your help.

Please answer as a comment to my answer to keep things organized. The moment you detect that the object is very close to the head you attach (using something like this) and you stop verifying that.