{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/4711","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/4711/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/4711/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/4711/events","html_url":"https://github.com/highfidelity/hifi/pull/4711","id":71538459,"number":4711,"title":"DO NOT MERGE: Split the Camera and the Avatar and introduce the UserInputMapper","user":{"login":"samcake","id":2230265,"avatar_url":"https://avatars.githubusercontent.com/u/2230265?v=3","gravatar_id":"","url":"https://api.github.com/users/samcake","html_url":"https://github.com/samcake","followers_url":"https://api.github.com/users/samcake/followers","following_url":"https://api.github.com/users/samcake/following{/other_user}","gists_url":"https://api.github.com/users/samcake/gists{/gist_id}","starred_url":"https://api.github.com/users/samcake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcake/subscriptions","organizations_url":"https://api.github.com/users/samcake/orgs","repos_url":"https://api.github.com/users/samcake/repos","events_url":"https://api.github.com/users/samcake/events{/privacy}","received_events_url":"https://api.github.com/users/samcake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-28T09:45:48Z","updated_at":"2015-04-29T17:46:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/4711","html_url":"https://github.com/highfidelity/hifi/pull/4711","diff_url":"https://github.com/highfidelity/hifi/pull/4711.diff","patch_url":"https://github.com/highfidelity/hifi/pull/4711.patch"},"body":"This is a work in progress! but we need to test this, prototype more and do it again...\r\n\r\n- Split the Camera from the Avatar, meaning:\r\n    - The camera 1st and 3rd person modes are merged into the \"Camera_mode_avatar\", the only difference between the 2 modes is the boom distance of the Camera.\r\n   - The Camera position is starting from the same Avatar hips position. That's the root frame of the Camera. THis is where the yaw of the Camera is injected\r\n   - The pivot of the Camera is the frame placed at the default eye position of the avatar. This is where the pitch of the camera is injected\r\n - Lastly, the View Frame is moved along the Z axis of the boom distance\r\n\r\n- The userInputMapper is the class doing the mapping between the user input devices among others the default keyboardMouseDevice and the \"logical\" channel of the application. this is where all the different places that can \"control\" the application interface together in a single set of channels that the whole application (and js) can pull from.\r\n\r\n-  The bridge between the userInputMapper and the Camera and MyAVatar is happening in the LookMoveController. For now it;s a hard coded behavior but the plan is a js function could take over that task so user can transform the way the Camera and the avatar are moving from the user inputs.\r\n\r\nSo please test and prototype and let me know how it works  or not for you.\r\n\r\n   \r\n\r\n "},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/97516228","html_url":"https://github.com/highfidelity/hifi/pull/4711#issuecomment-97516228","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/4711","id":97516228,"user":{"login":"hifi-gustavo","id":4554450,"avatar_url":"https://avatars.githubusercontent.com/u/4554450?v=3","gravatar_id":"","url":"https://api.github.com/users/hifi-gustavo","html_url":"https://github.com/hifi-gustavo","followers_url":"https://api.github.com/users/hifi-gustavo/followers","following_url":"https://api.github.com/users/hifi-gustavo/following{/other_user}","gists_url":"https://api.github.com/users/hifi-gustavo/gists{/gist_id}","starred_url":"https://api.github.com/users/hifi-gustavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hifi-gustavo/subscriptions","organizations_url":"https://api.github.com/users/hifi-gustavo/orgs","repos_url":"https://api.github.com/users/hifi-gustavo/repos","events_url":"https://api.github.com/users/hifi-gustavo/events{/privacy}","received_events_url":"https://api.github.com/users/hifi-gustavo/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T17:46:15Z","updated_at":"2015-04-29T17:46:15Z","body":"Build console output for commit: bf5e2c46a9decd0434935b8c3993cab19e8c3bba available at: https://gist.github.com/76d9bc66a07f18eb2c4b<br/><br/>Installers available for download at: <br/>Windows: http://s3.amazonaws.com/hifi-public/pr-builds/dev-interface-4711.exe<br/>OS X: http://s3.amazonaws.com/hifi-public/pr-builds/dev-interface-4711.dmg"}}