Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ColinB's avatar
ColinB
Adventurer
11 years ago

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 !

7 Replies

Replies have been turned off for this discussion
  • 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;
    }
  • 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.
  • "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
  • kashen's avatar
    kashen
    Honored Guest
    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!
  • "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.
  • kashen's avatar
    kashen
    Honored Guest
    "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!
  • Jyakku's avatar
    Jyakku
    Honored Guest
    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.