Meyer Posted January 11, 2018 Share Posted January 11, 2018 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 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 11, 2018 Share Posted January 11, 2018 Unfortunately this is by design (not our fault: it is a specification restriction) Quote Link to comment Share on other sites More sharing options...
Meyer Posted January 12, 2018 Author Share Posted January 12, 2018 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 brianzinn 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 12, 2018 Share Posted January 12, 2018 Lol no problem at least it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.