{"action":"created","issue":{"url":"https://api.github.com/repos/acemod/ACE3/issues/4285","repository_url":"https://api.github.com/repos/acemod/ACE3","labels_url":"https://api.github.com/repos/acemod/ACE3/issues/4285/labels{/name}","comments_url":"https://api.github.com/repos/acemod/ACE3/issues/4285/comments","events_url":"https://api.github.com/repos/acemod/ACE3/issues/4285/events","html_url":"https://github.com/acemod/ACE3/pull/4285","id":172600132,"number":4285,"title":"Improve interaction position for air units.","user":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acemod/ACE3/labels/bug%20fix","name":"bug fix","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"esteldunedain","id":7674951,"avatar_url":"https://avatars.githubusercontent.com/u/7674951?v=3","gravatar_id":"","url":"https://api.github.com/users/esteldunedain","html_url":"https://github.com/esteldunedain","followers_url":"https://api.github.com/users/esteldunedain/followers","following_url":"https://api.github.com/users/esteldunedain/following{/other_user}","gists_url":"https://api.github.com/users/esteldunedain/gists{/gist_id}","starred_url":"https://api.github.com/users/esteldunedain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esteldunedain/subscriptions","organizations_url":"https://api.github.com/users/esteldunedain/orgs","repos_url":"https://api.github.com/users/esteldunedain/repos","events_url":"https://api.github.com/users/esteldunedain/events{/privacy}","received_events_url":"https://api.github.com/users/esteldunedain/received_events","type":"User","site_admin":false},"assignees":[{"login":"esteldunedain","id":7674951,"avatar_url":"https://avatars.githubusercontent.com/u/7674951?v=3","gravatar_id":"","url":"https://api.github.com/users/esteldunedain","html_url":"https://github.com/esteldunedain","followers_url":"https://api.github.com/users/esteldunedain/followers","following_url":"https://api.github.com/users/esteldunedain/following{/other_user}","gists_url":"https://api.github.com/users/esteldunedain/gists{/gist_id}","starred_url":"https://api.github.com/users/esteldunedain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esteldunedain/subscriptions","organizations_url":"https://api.github.com/users/esteldunedain/orgs","repos_url":"https://api.github.com/users/esteldunedain/repos","events_url":"https://api.github.com/users/esteldunedain/events{/privacy}","received_events_url":"https://api.github.com/users/esteldunedain/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/acemod/ACE3/milestones/18","html_url":"https://github.com/acemod/ACE3/milestones/%203.7.0","labels_url":"https://api.github.com/repos/acemod/ACE3/milestones/18/labels","id":1753245,"number":18,"title":" 3.7.0","description":"","creator":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"open_issues":77,"closed_issues":88,"state":"open","created_at":"2016-05-07T19:29:09Z","updated_at":"2016-08-23T02:42:24Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-23T02:42:24Z","updated_at":"2016-08-23T02:49:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acemod/ACE3/pulls/4285","html_url":"https://github.com/acemod/ACE3/pull/4285","diff_url":"https://github.com/acemod/ACE3/pull/4285.diff","patch_url":"https://github.com/acemod/ACE3/pull/4285.patch"},"body":"Fix #4233\r\n\r\nAdds a varient of getVehiclePos function that should work better for air units.\r\nAllows us to define a custom bounding box for a vehicle to limit to the main hull of a air unit and ignore it's wings or rotors.\r\n\r\nExample, green is boundingBoxReal, blue is the effective custom one:\r\n\r\n![20160822213411_1](https://cloud.githubusercontent.com/assets/9376747/17878517/f466468a-68b0-11e6-9560-979c300f3672.jpg)\r\n\r\nthis function doesn't require higher scoped variables, so we can use it externally.\r\nFor example to get get the effective distance to a vehicle:\r\n\r\n```\r\nprivate _playerPosASL = eyePos _player;\r\nprivate _targetInteractionPos = [_target, _playerPosASL] call FUNC(getVehiclePosComplex);\r\n(ASLtoAGL _playerPosASL) distance (_target modelToWorld _targetInteractionPos)\r\n```"},"comment":{"url":"https://api.github.com/repos/acemod/ACE3/issues/comments/241612090","html_url":"https://github.com/acemod/ACE3/pull/4285#issuecomment-241612090","issue_url":"https://api.github.com/repos/acemod/ACE3/issues/4285","id":241612090,"user":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T02:49:03Z","updated_at":"2016-08-23T02:49:03Z","body":"Nice work as always @PabstMirror!"}}
{"actor":{"display_login":"jonpas"}}