Search the Community
Showing results for tags 'vive'.
-
Hi, I've got my vive and the controllers working and now I want to implement some teleporting feature to move around. So I have some kind of a laserpointer to choose the new position. How can I link the new position as the start position of the webVRFreeCamera (with options-flag "trackPosition:true")? Because the vive overrides my positions, I'm adding "newPos" to "scene.activeCamera" every frame. But there seems to be an offset. And obviously, if I set "scene.activeCamera.position = newPos" and not "+=", the trackPosition isn't working any more. Thanks
-
Hey Yall, I've started to work on a new camera in Babylon called "VRRoomScaleCamera", which with allow for walking around in a virual environment. There are a couple reasons I'm working on this: 1) I want get my Vive working nicely with Babylon. 2) I've noticed that the VR implementations within Babylon use the "old" webVR API, and want to see how the newer API works. 3) To learn! I've really only started this weekend. So far I've been able to get the positioning and orientation information through to Babylon, and project a scene into the HMD. At the moment I'm working on getting the projectionMatrix updated correctly so that a "ground" mesh actually is on the ground. There is a learning curve for me in all this (first time using typescript, doing dev work on a PC, much lower level graphics code), so I'm going to be taking things super slow. A lot of this is discovery for me. I'll leave a link to my fork at the end of this, but please understand that this in NOT functional yet. Constructive comments are very much welcome on the commits! This is especially true if you want to point to a class/method that I should be using, or gotchas that I should account for. Will keep this thread updated, but for now: https://github.com/brochington/Babylon.js
-
Hi, does anybody know if it's possible to get the position and rotation-data of the vive-controllers?