Skip to main content
Up and Coming
August 3, 2014

How could I implement a crouch function into sdk 0.4.0 ovr

Hi! Sorry for double posting this, but in Unity integreation forum I didn't get any feedback. I am wondering if it wasn't a good standard feature to have crouching implemented, as the dk2 gives a very nice new exploration option by moving your body around. Would be great if somebody could tell how to make this work. Thanks!

AD

    2 replies

    Up and Coming
    August 18, 2014
    "ad2003" wrote:
    Hi! Sorry for double posting this, but in Unity integreation forum I didn't get any feedback. I am wondering if it wasn't a good standard feature to have crouching implemented, as the dk2 gives a very nice new exploration option by moving your body around. Would be great if somebody could tell how to make this work. Thanks!
    AD


    Crouching on DK2 is done by the user, with a physical body movement.
    No need to map it to a gamepad button.

    If you want to detect crouch for collision detection: just query the SDK for the head position, or eye position.
    Up and Coming
    August 19, 2014
    "stolk" wrote:
    "ad2003" wrote:
    Hi! Sorry for double posting this, but in Unity integreation forum I didn't get any feedback. I am wondering if it wasn't a good standard feature to have crouching implemented, as the dk2 gives a very nice new exploration option by moving your body around. Would be great if somebody could tell how to make this work. Thanks!
    AD


    Crouching on DK2 is done by the user, with a physical body movement.
    No need to map it to a gamepad button.

    If you want to detect crouch for collision detection: just query the SDK for the head position, or eye position.

    This isn't always practical. Its hard to crouch while seated like this, and if I do I will probably just fall out of the camera view.