{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/6991","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/6991/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/6991/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/6991/events","html_url":"https://github.com/mrdoob/three.js/issues/6991","id":100558643,"number":6991,"title":"flycontrols + oculus rift sensitivity","user":{"login":"tomcon25","id":9867312,"avatar_url":"https://avatars.githubusercontent.com/u/9867312?v=3","gravatar_id":"","url":"https://api.github.com/users/tomcon25","html_url":"https://github.com/tomcon25","followers_url":"https://api.github.com/users/tomcon25/followers","following_url":"https://api.github.com/users/tomcon25/following{/other_user}","gists_url":"https://api.github.com/users/tomcon25/gists{/gist_id}","starred_url":"https://api.github.com/users/tomcon25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomcon25/subscriptions","organizations_url":"https://api.github.com/users/tomcon25/orgs","repos_url":"https://api.github.com/users/tomcon25/repos","events_url":"https://api.github.com/users/tomcon25/events{/privacy}","received_events_url":"https://api.github.com/users/tomcon25/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Help%20(please%20use%20Stackoverflow)","name":"Help (please use Stackoverflow)","color":"cfcfcf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T14:41:49Z","updated_at":"2015-08-13T01:32:16Z","closed_at":"2015-08-13T01:32:16Z","body":"I am using fly controls to navigate a 3d three.js environment with the oculus rift. \r\n\r\nthe oculus moves the camera with the slightest movement of the headset and wondering how i could decrease the sensitivity when the oculus controls are applied. code below:\r\n    \r\nsetup of controls:\r\n\r\n     `controls = new THREE.FlyControls( camera, div_globes);\r\n\r\n    controls = new THREE.FlyControls( camera);\r\n    controls.movementSpeed = 3;\r\n    controls.domElement = viewport;\r\n    controls.rollSpeed = 0.00001;\r\n    controls.autoForward = false;\r\n    controls.dragToLook = true;`\r\n\r\nanimation section:\r\n\r\n`controls.update(1);\r\n    //flyControls.update();\r\n\r\n    \r\n    if(oculusOn){\r\n    ///////////////////////Occulus Specific animate code start///////////////////////\r\n                  //controls.update();\r\n                  vrControls.update();\r\n\r\n                  // Temporarily save the orbited camera position\r\n                  var orbitPos = camera.position.clone();\r\n                    //console.log(\"camera pos: \" + camera.position.x +\" \"+ camera.position.y+\" \"+camera.position.z);\r\n\r\n                  // Apply the VR HMD camera position and rotation\r\n                  // on top of the orbited camera.\r\n                  var rotatedPosition = fakeCamera.position.applyQuaternion(\r\n                    camera.quaternion);\r\n                  camera.position.add(rotatedPosition);\r\n                  camera.quaternion.multiply(fakeCamera.quaternion);\r\n        \r\n        \r\n                    var rotatedPosition = orbitCamera.position.applyQuaternion(\r\n                    camera.quaternion);\r\n                  orbitCamera.position.add(rotatedPosition);\r\n                  orbitCamera.quaternion.multiply(fakeCamera.quaternion);\r\n                    //console.log(\"fakeCamera pos: \" + fakeCamera.position.x +\" \"+ fakeCamera.position.y+\" \"+fakeCamera.position.z);\r\n                    //render double display effect\r\n                  vrManager.render(scene, camera);\r\n\r\n                  // Restore the orbit position, so that the OrbitControls can\r\n                  // pickup where it left off.\r\n                  camera.position.copy(orbitPos);\r\n    ///////////////////////Occulus Specific code end///////////////////////\r\n    }`"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/130499134","html_url":"https://github.com/mrdoob/three.js/issues/6991#issuecomment-130499134","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/6991","id":130499134,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T01:32:16Z","updated_at":"2015-08-13T01:32:16Z","body":"As stated in the [guidelines](https://github.com/mrdoob/three.js/blob/master/CONTRIBUTING.md), help requests should be directed to [stackoverflow](http://stackoverflow.com/questions/tagged/three.js). This board is for bugs and feature requests.\r\n"}}