Skip to main content
Inspiring
October 7, 2014

Decrement / Increment player height (in meters)

In the Oculus Unity Integration guide, SDK Version 0.4.2 readme, it has a table (Table 1) that has Keys and usage.
It has the numbers keys 5 and 6 as assigned to "Decrement/Increment player height (in meters)
I cannot get this to work at all.
All other keys work fine as stated in the guide but keys 5 and 6 appear to do nothing?

This also occurs when imported the OculusUnityIntegration.unityPackage and occurs with the Tuscany Demo as well.

I remember in the DK1 you could um..well move one's height or was it eye level up and down by tapping the appropriate keys...One could be as tall as a giant or short as an ant!
But I cannot fathom how to do this with my new DK2.

I would like to raise or lower my view by tapping some keys as I could in the DK1.

Is this still possible with the DK2 and what are the keys 5 and 6 supposed to do?

I'll bet I'm not doing something or I'm to ignorant to fathom a solution :)

I'm using the latest builds for everything !
    This topic has been closed for replies.

    7 replies

    Inspiring
    October 8, 2014
    It's locked to the player height value that is taken from the profile (created by the config util).

    For testing, you can edit the following line 567 in OVRCameraController:

    if(true || UsePlayerEyeHeight != true)
    {
    NeckPosition = neckPosition;
    UpdateCamerasDirtyFlag = true;
    }
    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
    Inspiring
    October 8, 2014
    Ha! I'm a fool. There is actually just a check box in the editor to modify this.

    It's called "Use Player Eye Height" under OVRCameraController in the inspector.
    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
    ColinBAuthor
    Inspiring
    October 8, 2014
    "cybereality" wrote:
    Ha! I'm a fool. There is actually just a check box in the editor to modify this.

    It's called "Use Player Eye Height" under OVRCameraController in the inspector.


    One thing is certain. You are definitely not a fool.
    You are most patient and helpful

    More fool I not to look more carefully.

    I'll try that tonight.
    Thanks again.
    Colin
    Participant
    January 19, 2015
    I haven't been able to change the player height in game using the 5 and 6 keys. Instead of "Use Player Eye height" option, there's a "Use Profile Height" option in Unity while using the 0.4.4 Oculus package. I tried unchecking the option and making a final build for a test, but hitting the keys did nothing at all. Any advice/help would be appreciated!
    http://moarpixels.tumblr.com
    ColinBAuthor
    Inspiring
    January 19, 2015
    "kashen" wrote:
    I haven't been able to change the player height in game using the 5 and 6 keys. Instead of "Use Player Eye height" option, there's a "Use Profile Height" option in Unity while using the 0.4.4 Oculus package. I tried unchecking the option and making a final build for a test, but hitting the keys did nothing at all. Any advice/help would be appreciated!


    cyberreality's post (above) solved it for me in 4.2.

    If you are reading the posts you will find that apparently 4.4 is not loved much !
    It seems to be the Oculus equivalent of Windows Vista or even windows ME.

    My advice would be to keep well away from this "update" and use earlier ones.
    As far as I remember 4.3 was almst as much as a disaster as 4.4 but maybe not quite?
    So thats my views.
    Remeber it is a developers toy and will dissapear very soon along with software updates.
    Just play with it and use 0.4.2. for your requirements and builds until the "commercial" version appears.
    Less hassle.
    Participant
    January 20, 2015
    "ColinB" wrote:
    "kashen" wrote:
    I haven't been able to change the player height in game using the 5 and 6 keys. Instead of "Use Player Eye height" option, there's a "Use Profile Height" option in Unity while using the 0.4.4 Oculus package. I tried unchecking the option and making a final build for a test, but hitting the keys did nothing at all. Any advice/help would be appreciated!


    cyberreality's post (above) solved it for me in 4.2.

    If you are reading the posts you will find that apparently 4.4 is not loved much !
    It seems to be the Oculus equivalent of Windows Vista or even windows ME.

    My advice would be to keep well away from this "update" and use earlier ones.
    As far as I remember 4.3 was almst as much as a disaster as 4.4 but maybe not quite?
    So thats my views.
    Remeber it is a developers toy and will dissapear very soon along with software updates.
    Just play with it and use 0.4.2. for your requirements and builds until the "commercial" version appears.
    Less hassle.


    Ahhh! I should have just stuck with the older one instead of keeping up with the updates >..<
    Sometimes I keep forgetting this is still a dev kit and the updates may not necessarily be a good thing. Thanks ColinB!
    http://moarpixels.tumblr.com
    Up and Coming
    January 21, 2015
    For what it's worth, there's a hacky way to adjust height in 0.4.4. If you comment out the lines in OVRCameraRig that update the anchor positions (around line 107-109) you can then take control of their positions from a custom script. We basically coded our own replacement for the missing 5/6 key height functionality with this method.

    Not the most graceful solution, but it hasn't appeared to negatively impact the experience so far or break any systems. Oculus team--would love to see this make a comeback in the SDK, preferably with a way to display the height in feet/meters as you change it. The profile height options are great for single users, but in the scenario of multiple people passing around the Rift and trying out a demo, the ability to adjust height on the fly helps with getting the scale to feel right to each individual.