{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/7817","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/7817/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/7817/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/7817/events","html_url":"https://github.com/minetest/minetest/pull/7817","id":374017388,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODE0NTMy","number":7817,"title":"Add pitch fly mode","user":{"login":"Gael-de-Sailly","id":6905002,"node_id":"MDQ6VXNlcjY5MDUwMDI=","avatar_url":"https://avatars2.githubusercontent.com/u/6905002?v=4","gravatar_id":"","url":"https://api.github.com/users/Gael-de-Sailly","html_url":"https://github.com/Gael-de-Sailly","followers_url":"https://api.github.com/users/Gael-de-Sailly/followers","following_url":"https://api.github.com/users/Gael-de-Sailly/following{/other_user}","gists_url":"https://api.github.com/users/Gael-de-Sailly/gists{/gist_id}","starred_url":"https://api.github.com/users/Gael-de-Sailly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gael-de-Sailly/subscriptions","organizations_url":"https://api.github.com/users/Gael-de-Sailly/orgs","repos_url":"https://api.github.com/users/Gael-de-Sailly/repos","events_url":"https://api.github.com/users/Gael-de-Sailly/events{/privacy}","received_events_url":"https://api.github.com/users/Gael-de-Sailly/received_events","type":"User","site_admin":false},"labels":[{"id":471238548,"node_id":"MDU6TGFiZWw0NzEyMzg1NDg=","url":"https://api.github.com/repos/minetest/minetest/labels/Feature","name":"Feature","color":"0052cc","default":false},{"id":336502596,"node_id":"MDU6TGFiZWwzMzY1MDI1OTY=","url":"https://api.github.com/repos/minetest/minetest/labels/One%20approval","name":"One approval","color":"BEE4D6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-10-25T15:54:33Z","updated_at":"2018-11-29T05:19:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/7817","html_url":"https://github.com/minetest/minetest/pull/7817","diff_url":"https://github.com/minetest/minetest/pull/7817.diff","patch_url":"https://github.com/minetest/minetest/pull/7817.patch"},"body":"This adds a new, optional fly mode, in which the movement follows the exact direction the player is pointing at (including pitch), instead of moving horizontally and vertically separately.\r\nIt works exactly like the normal fly mode, except that all directions (forward, backward, up, down, left, right) are relative to the player's yaw *and* pitch, instead of only yaw. It can be enabled and disabled using a key (by default L).\r\n\r\n[Demonstration on YouTube](https://www.youtube.com/watch?v=3sW_tyB2oYQ)\r\n\r\nI spent some time testing it yesterday, it did not take me much time to handle it well, and it clearly makes easier to do some difficult moves, like flying in a cave. The moves are also smoother, I feel like in an airplane.\r\n\r\nThis PR may not be ready for merging, as there remains some weirdness (the player slightly deviates from its trajectory at the beginning and the end of a move).\r\nAlso I would like to find a better name than \"pitch fly\" for this feature (do you have any idea?).\r\nI'm open to discussion about the choices I had to make (like the toggle key, the vector rotation that is performed at the end of the calculation instead of the beginning, etc.), I would also like to have some feedback about the concept itself before doing more polishing if needed."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/442709870","html_url":"https://github.com/minetest/minetest/pull/7817#issuecomment-442709870","issue_url":"https://api.github.com/repos/minetest/minetest/issues/7817","id":442709870,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjcwOTg3MA==","user":{"login":"ClobberXD","id":36130650,"node_id":"MDQ6VXNlcjM2MTMwNjUw","avatar_url":"https://avatars1.githubusercontent.com/u/36130650?v=4","gravatar_id":"","url":"https://api.github.com/users/ClobberXD","html_url":"https://github.com/ClobberXD","followers_url":"https://api.github.com/users/ClobberXD/followers","following_url":"https://api.github.com/users/ClobberXD/following{/other_user}","gists_url":"https://api.github.com/users/ClobberXD/gists{/gist_id}","starred_url":"https://api.github.com/users/ClobberXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClobberXD/subscriptions","organizations_url":"https://api.github.com/users/ClobberXD/orgs","repos_url":"https://api.github.com/users/ClobberXD/repos","events_url":"https://api.github.com/users/ClobberXD/events{/privacy}","received_events_url":"https://api.github.com/users/ClobberXD/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T05:19:16Z","updated_at":"2018-11-29T05:19:16Z","author_association":"CONTRIBUTOR","body":"PR needs rebasing due to client-side files being refactored in #7902 "}}
{"actor":{"display_login":"ClobberXD"}}