12-27-2023 03:25 PM - edited 12-27-2023 03:26 PM
Hello,
I use a quest 3 in UE5 using steamvr currently (new to quest dev in ue). I use Steam link to stream the picture to the quest3. I never packed an apk but simply started the game from the ue editor in vr mode in unreal.
I recognized, that every time i start/stop the game in the editor, the orientation (yaw) of my virtual space in unreal changes kind of randomly... probably depends on inital headset position when i start the game.
I want to place a virtual object in my 3d scene and i want it to correspont to the real-world location for ever - even when i shutdown unreal and the quest headset and restart. Think of an AR way to place a virtual object in your room in a specific position.
I already found the ARPins, but couldnt get it to run (at least not when starting the game from the UE editor in vr mode - they seem to be overpowered for my case anyway). Generally i wonder why it is so hard to match virtual orientation to real-world-orientation. The guardian/champerone, is always perfectly matching the room - even when turjing off the headset. So the headset must be aware of the physical room and positions and orientation. Why is it such a hustle to match it in unreal? Would be glad if someone could shed some light 🙂
thank you 🙂
Solved! Go to Solution.
12-29-2023 01:29 AM
12-29-2023 01:29 AM
06-03-2024 05:01 PM
I am running into a similar issue in Unity. Meta docs are nearly useless for anything past surface understanding. I have a training lesson app where we want both freedom to walk around at certain times but also have specific lesson "hot spots" where we teleport the learner at certain lesson intervals. I am using the Meta all-in-one SDK. OVRManager tracking origin type = Floor Level.
I've noticed if I stay on the start position or re-center and then teleport the player at runtime via code, all teleportation is accurate. But if I walk a few feet from origin then all teleporting locations seem to be offset by the distance I am away from start orientation. What's even weirder is that the player rig that the camera is attached to will teleport correctly, but the eye camera itself stays locked to the relative world position. This makes a certain kind of sense as the device is physically in a world position, but I fail to understand why any relative deviation from origin isn't automatically added to a teleportation.
I had to do multiple builds and tests to figure this out. Maybe I have a setting off/on somewhere - i don't know. But I know there's got to be a simple way around it. Likely some code setting the camera offset or auto recentering via code but it is not obvious the correct way to do it using the SDK. If there isn't a way to easily do this my fall back is to just move the world (which is very small) around the player.