cancel
Showing results for 
Search instead for 
Did you mean: 

Manualy changing player height in "game" Oculus Quest 2 VR

Anonymous
Not applicable

Hello Beautifull people,

my name is Rico and i had a question.

i have the basics worked out for my manual player height changing, but because the Camera is an active changing object i was wondering if there was a way i could freeze the object with code while we change the height and save it and not let it override when its unfrozen. 

so when the camera is 1.55cm and i want it to be 1.68cm so i have to add 13 cm's i want to change that with my UI i made and add it to the existing Y axis of the camera and when i unfreeze the camera i want it to stay like that and not shoot back to 1.55cm. 

is there a way to do this or is their a simpler way to do this? im like 90% done with what i want to do with it but this is the last stuggle. 

 

P.s 

 

i am using tracked pose driver on my camera. 

Bunnykill2000_0-1634556974045.png

 

2 REPLIES 2

Just nest your Camera inside a parent so that you can offset its position on the y axis.
This is the HurricaneVR (Unity asset) rig, which does just that:HurricaneVR.jpg

adeade
Explorer

perhaps this helps you . you can also change the height of your charakter controller or capsula collider ob player.