Meyer

Members
  • Content count

    8
  • Joined

  • Last visited

About Meyer

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Meyer

    OculusController position

    Hi again, I investigated and finally babylon's code is ok ! The positions are updated. My problem was stupid : when you don't put the oculus on your head, the headset enter in a kind of sleep mode. In this "sleep mode" , the positions of the pads are not updated ( only their rotation ) if you wake up the headset ( by touching/moving it only), the pad positions are back ! Sorry for the inconvenience. Meyer
  2. Meyer

    New Gamepad Changes

    Hi again, I investigated and finally babylon's code is ok ! The positions are updated. My problem was stupid : when you don't put the oculus on your head, the headset enter in a kind of sleep mode. In this "sleep mode" , the positions of the pads are not updated ( only their rotation ) if you wake up the headset ( by touching/moving it only), the pad positions are back ! Sorry for the inconvenience. Meyer
  3. Meyer

    New Gamepad Changes

    Hi, I'm new to babylonjs/Webvr so, to be honest, I do not really understand what you suggest me to do. But I will investigate ;-) Thanks for your help ! Have a nice day
  4. Meyer

    New Gamepad Changes

    My idea was to be able to do some object manipulations without having to put the headset on. It’s horrible to swap between VR and desktop mode often ( especially when you wear glasses like me ). So if there is an easy patch I can do locally It would be wonderful. BTW do you want me to delete my other thread ?
  5. Meyer

    New Gamepad Changes

    Oculus controllers. They have position when I enter un VR mode. Their meshes move/translate in VR mode, they only rotate in standard mode
  6. Meyer

    New Gamepad Changes

    Thanks. FYI, just calling scene.createDefaultVRExperience(); fixed my problem even if I'am not in VR Mode. I got the callback, I got the rotations but the position vector for the controllers is not updated and stay null.
  7. Hi all, I try to use oculus controllers without having a VR Camera. I succeed to have the rotation but the position stay 0,0,0. The position seems to be only available when VRMode is enabled. My code this.padLeft.deviceRotationQuaternion; // Valid console.log(this.padLeft.devicePosition); // always 0,0,0 console.log(this.padLeft.position); // always 0,0,0 any idea ? Thanks in advance Meyer
  8. Meyer

    New Gamepad Changes

    Hi all, I'm trying to use the oculus controllers without having a vr camera. As indicated in this doc : https://doc.babylonjs.com/how_to/webvr_camera it seems to be possible but the method used is obsolete ( see below ). I tried to add this code scene.gamepadManager.onGamepadConnectedObservable.add(function(pad) { alert("gamepad connected"); }) to handle the connection but the alert is never called. Can you show me how to use the new gamepadManager in this scenario ? Thanks in advance