Skip to main content
Up and Coming
August 13, 2013

Adjusting Height of OVRPlayerController

Hello,

I'm having some difficulty figuring out the best way to configure the height of the OVRPlayerController, and wonder what the best way to adjust that would be?

I have a scene that isn't scaled exactly right to use the default settings of the OVRPlayerController - the player is too short.

If I increase the 'height' value in the character controller, it does increase the camera / head height, however, the collider ends up so tall that it can't get through doorways, even though the camera height is perfect.

Moving the cameras themselves obviously doesn't have any impact, as their height seems to be established in the OVRCamera script.

My next step is to start hacking around in that script - maybe exposting the EyePosition and NeckPosition as public variables I can adjust, but I wondered if there is an easier way I'm not thinking of?

How have others handled character height, beyond just making sure your Unity scene is built from the beginning around the OVR controller's height?

Thanks in advance!
Jon
    This topic has been closed for replies.

    8 replies

    KeystoneAuthor
    Up and Coming
    August 15, 2013
    I could really use some help with this if anyone has ideas around how to resolve this? Maybe it's been posted elsewhere already?

    Any help is greatly appreciated!
    Thanks,
    Jon
    Participant
    August 15, 2013
    The neck position is public already (eye center too), just click on the "OVRCameraController" in the hierarchy under OVRPlayerController, you''ll see you can set it right there in the inspector, no scripting needed (though it's not hard to tweak in the script either).

    Can set the height under OVRPlayerController as desired (to fit under doors and such), will set collider height of course, then just tweak the neck position Y setting from there. Neck position does NOT effect the collider height, so think that ought to solve your issue if I understand correctly.
    Up and Coming
    August 15, 2013
    i simply just adjust the scale of the thing , that can help.
    Participant
    January 8, 2023

    This is useful.

    Inspiring
    August 15, 2013
    You should try to stick with the OVR scale (which I believe is 1 unit to 1 meter). Otherwise the stereo camera parameters will be off and not look correct.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Participant
    January 29, 2014
    So If I understand you correctly, you should never change the default Height setting of 2 meter under OVR Player Controller_ Character Controller ? What about the Radius and Skin width there to avoid getting stuck and so on if you are too wide? change the scale instead?

    Just to be 100% sure, when you mean to change the scale instead you mean OVR Player Controller_ Transform_Scale right? So since I´m 178 cm high but the OVR Player Controller is 2 meter as default I would need to change this scale to 0.89 instead of 1 as the default values. (178 / 200 = 0,89) ?
    Up and Coming
    January 29, 2014
    Just make the collider bigger.
    Brevis / DevBlog Twitter
    Participant
    January 31, 2014
    Sorry, make the collider bigger? On these topics I think it could be a little better documentation on the Unity Integration than what I have seen so far :)

    thanks for help!