Closed skahlert closed 4 years ago
@skahlert Which device you are using? Do you have collider added to your camera gameobject? Please provide the version of Unity, Plugin and VIU. Could you also provide a sample project or a short video?
You can see in the video, that the camera moves up a few units as soon as the collider of the platform is below the camera, and it snaps back when the camera moves again off the platform
While creating the test-project I found that the VRTK teleporter seems to hijack the camera and snap it to the floor. I was not aware of this sideeffect. So no issue with VIU. Sorry, for the confusion.
The camera position seems to adjust height, depending on colliders directly below the camera position. For example if the player moves the head forward, just above a ascending stair, the camera jumps up a few centimeters, without the user triggering a teleport. It seems like the camera always tries to stay above a certain distance of the first collider hit, but there is no way I found to influence, which colliders are evaluated. In general I would expect the camera always to stay above the reference point of the rig (where I last teleported to).