{"action":"closed","number":18822,"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/18822","id":187633809,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg3NjMzODA5","html_url":"https://github.com/godotengine/godot/pull/18822","diff_url":"https://github.com/godotengine/godot/pull/18822.diff","patch_url":"https://github.com/godotengine/godot/pull/18822.patch","issue_url":"https://api.github.com/repos/godotengine/godot/issues/18822","number":18822,"state":"closed","locked":false,"title":"Added spring arm node","user":{"login":"QbieShay","id":7917475,"node_id":"MDQ6VXNlcjc5MTc0NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7917475?v=4","gravatar_id":"","url":"https://api.github.com/users/QbieShay","html_url":"https://github.com/QbieShay","followers_url":"https://api.github.com/users/QbieShay/followers","following_url":"https://api.github.com/users/QbieShay/following{/other_user}","gists_url":"https://api.github.com/users/QbieShay/gists{/gist_id}","starred_url":"https://api.github.com/users/QbieShay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QbieShay/subscriptions","organizations_url":"https://api.github.com/users/QbieShay/orgs","repos_url":"https://api.github.com/users/QbieShay/repos","events_url":"https://api.github.com/users/QbieShay/events{/privacy}","received_events_url":"https://api.github.com/users/QbieShay/received_events","type":"User","site_admin":false},"body":"Thanks to @AndreaCatania, Godot now can have a Spring Arm node!\r\nCloses #16508.\r\n\r\nThe spring arm node is a node that pushes all its children back on his local z considering collision with the environment. If there is a collision, the spring arm will reduce its length.\r\nThe spring arm only moves its immediate children, and only the location( rotation control it's left in the hands of the developer ). It supports collision masks and specific body exclusion. It has a shape as property which is the shape that will be cast to do collision avoidance. Multiple shapes are not supported.\r\n\r\nThis type of node comes in handy when making 3rd person cameras, but it's not bound to that.\r\n\r\nExample usage:\r\n\r\nA classic responsive 3rd person camera can be achieved by simply adding the spring node as a child of the character, regulating its orientation to match the desired angle, and adding a camera as a child of the spring arm node. This implementation can be modified in various ways, for example, moving the spring arm on the shoulder of the character will achieve a shoulder camera with minimal effort. \r\n\r\nThe spring arm itself does not move on his own, so it is possible to control its motion , for example, for a racing game it's useful to have damping on the camera movement, and this can be easily achieved by scripting the spring arm node.\r\n\r\n","created_at":"2018-05-12T18:22:58Z","updated_at":"2018-08-18T10:41:23Z","closed_at":"2018-08-18T10:41:23Z","merged_at":null,"merge_commit_sha":"9414490691f6c9cd45db2cae828f9b9c95a11437","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":73330068,"node_id":"MDU6TGFiZWw3MzMzMDA2OA==","url":"https://api.github.com/repos/godotengine/godot/labels/feature%20proposal","name":"feature proposal","color":"1144ff","default":false},{"id":370471880,"node_id":"MDU6TGFiZWwzNzA0NzE4ODA=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:physics","name":"topic:physics","color":"ffdd44","default":false}],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/7","html_url":"https://github.com/godotengine/godot/milestone/7","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/7/labels","id":2529217,"node_id":"MDk6TWlsZXN0b25lMjUyOTIxNw==","number":7,"title":"3.1","description":"","creator":{"login":"akien-mga","id":4701338,"node_id":"MDQ6VXNlcjQ3MDEzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":1043,"closed_issues":2538,"state":"open","created_at":"2017-05-18T13:33:56Z","updated_at":"2018-08-18T10:41:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/godotengine/godot/pulls/18822/commits","review_comments_url":"https://api.github.com/repos/godotengine/godot/pulls/18822/comments","review_comment_url":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/18822/comments","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/f3c09b5088503b46ad1ca7afbd56c13a2565627d","head":{"label":"QbieShay:master","ref":"master","sha":"f3c09b5088503b46ad1ca7afbd56c13a2565627d","user":{"login":"QbieShay","id":7917475,"node_id":"MDQ6VXNlcjc5MTc0NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7917475?v=4","gravatar_id":"","url":"https://api.github.com/users/QbieShay","html_url":"https://github.com/QbieShay","followers_url":"https://api.github.com/users/QbieShay/followers","following_url":"https://api.github.com/users/QbieShay/following{/other_user}","gists_url":"https://api.github.com/users/QbieShay/gists{/gist_id}","starred_url":"https://api.github.com/users/QbieShay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QbieShay/subscriptions","organizations_url":"https://api.github.com/users/QbieShay/orgs","repos_url":"https://api.github.com/users/QbieShay/repos","events_url":"https://api.github.com/users/QbieShay/events{/privacy}","received_events_url":"https://api.github.com/users/QbieShay/received_events","type":"User","site_admin":false},"repo":{"id":129220041,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkyMjAwNDE=","name":"godot","full_name":"QbieShay/godot","owner":{"login":"QbieShay","id":7917475,"node_id":"MDQ6VXNlcjc5MTc0NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7917475?v=4","gravatar_id":"","url":"https://api.github.com/users/QbieShay","html_url":"https://github.com/QbieShay","followers_url":"https://api.github.com/users/QbieShay/followers","following_url":"https://api.github.com/users/QbieShay/following{/other_user}","gists_url":"https://api.github.com/users/QbieShay/gists{/gist_id}","starred_url":"https://api.github.com/users/QbieShay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QbieShay/subscriptions","organizations_url":"https://api.github.com/users/QbieShay/orgs","repos_url":"https://api.github.com/users/QbieShay/repos","events_url":"https://api.github.com/users/QbieShay/events{/privacy}","received_events_url":"https://api.github.com/users/QbieShay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/QbieShay/godot","description":"Godot Engine – Multi-platform 2D and 3D game engine","fork":true,"url":"https://api.github.com/repos/QbieShay/godot","forks_url":"https://api.github.com/repos/QbieShay/godot/forks","keys_url":"https://api.github.com/repos/QbieShay/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QbieShay/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QbieShay/godot/teams","hooks_url":"https://api.github.com/repos/QbieShay/godot/hooks","issue_events_url":"https://api.github.com/repos/QbieShay/godot/issues/events{/number}","events_url":"https://api.github.com/repos/QbieShay/godot/events","assignees_url":"https://api.github.com/repos/QbieShay/godot/assignees{/user}","branches_url":"https://api.github.com/repos/QbieShay/godot/branches{/branch}","tags_url":"https://api.github.com/repos/QbieShay/godot/tags","blobs_url":"https://api.github.com/repos/QbieShay/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QbieShay/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QbieShay/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/QbieShay/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QbieShay/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/QbieShay/godot/languages","stargazers_url":"https://api.github.com/repos/QbieShay/godot/stargazers","contributors_url":"https://api.github.com/repos/QbieShay/godot/contributors","subscribers_url":"https://api.github.com/repos/QbieShay/godot/subscribers","subscription_url":"https://api.github.com/repos/QbieShay/godot/subscription","commits_url":"https://api.github.com/repos/QbieShay/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/QbieShay/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/QbieShay/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/QbieShay/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/QbieShay/godot/contents/{+path}","compare_url":"https://api.github.com/repos/QbieShay/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QbieShay/godot/merges","archive_url":"https://api.github.com/repos/QbieShay/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QbieShay/godot/downloads","issues_url":"https://api.github.com/repos/QbieShay/godot/issues{/number}","pulls_url":"https://api.github.com/repos/QbieShay/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/QbieShay/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/QbieShay/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QbieShay/godot/labels{/name}","releases_url":"https://api.github.com/repos/QbieShay/godot/releases{/id}","deployments_url":"https://api.github.com/repos/QbieShay/godot/deployments","created_at":"2018-04-12T08:38:51Z","updated_at":"2018-08-06T17:02:27Z","pushed_at":"2018-08-18T10:41:22Z","git_url":"git://github.com/QbieShay/godot.git","ssh_url":"git@github.com:QbieShay/godot.git","clone_url":"https://github.com/QbieShay/godot.git","svn_url":"https://github.com/QbieShay/godot","homepage":"https://godotengine.org","size":252961,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"godotengine:master","ref":"master","sha":"f3c09b5088503b46ad1ca7afbd56c13a2565627d","user":{"login":"godotengine","id":6318500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMTg1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"repo":{"id":15634981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzNDk4MQ==","name":"godot","full_name":"godotengine/godot","owner":{"login":"godotengine","id":6318500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMTg1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godotengine/godot","description":"Godot Engine – Multi-platform 2D and 3D game engine","fork":false,"url":"https://api.github.com/repos/godotengine/godot","forks_url":"https://api.github.com/repos/godotengine/godot/forks","keys_url":"https://api.github.com/repos/godotengine/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godotengine/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godotengine/godot/teams","hooks_url":"https://api.github.com/repos/godotengine/godot/hooks","issue_events_url":"https://api.github.com/repos/godotengine/godot/issues/events{/number}","events_url":"https://api.github.com/repos/godotengine/godot/events","assignees_url":"https://api.github.com/repos/godotengine/godot/assignees{/user}","branches_url":"https://api.github.com/repos/godotengine/godot/branches{/branch}","tags_url":"https://api.github.com/repos/godotengine/godot/tags","blobs_url":"https://api.github.com/repos/godotengine/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godotengine/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godotengine/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/godotengine/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/godotengine/godot/languages","stargazers_url":"https://api.github.com/repos/godotengine/godot/stargazers","contributors_url":"https://api.github.com/repos/godotengine/godot/contributors","subscribers_url":"https://api.github.com/repos/godotengine/godot/subscribers","subscription_url":"https://api.github.com/repos/godotengine/godot/subscription","commits_url":"https://api.github.com/repos/godotengine/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/godotengine/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/godotengine/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/godotengine/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/godotengine/godot/contents/{+path}","compare_url":"https://api.github.com/repos/godotengine/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godotengine/godot/merges","archive_url":"https://api.github.com/repos/godotengine/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godotengine/godot/downloads","issues_url":"https://api.github.com/repos/godotengine/godot/issues{/number}","pulls_url":"https://api.github.com/repos/godotengine/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/godotengine/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/godotengine/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godotengine/godot/labels{/name}","releases_url":"https://api.github.com/repos/godotengine/godot/releases{/id}","deployments_url":"https://api.github.com/repos/godotengine/godot/deployments","created_at":"2014-01-04T16:05:36Z","updated_at":"2018-08-18T10:41:10Z","pushed_at":"2018-08-18T10:40:43Z","git_url":"git://github.com/godotengine/godot.git","ssh_url":"git@github.com:godotengine/godot.git","clone_url":"https://github.com/godotengine/godot.git","svn_url":"https://github.com/godotengine/godot","homepage":"https://godotengine.org","size":257318,"stargazers_count":16227,"watchers_count":16227,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3332,"mirror_url":null,"archived":false,"open_issues_count":3987,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3332,"open_issues":3987,"watchers":16227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot/pulls/18822"},"html":{"href":"https://github.com/godotengine/godot/pull/18822"},"issue":{"href":"https://api.github.com/repos/godotengine/godot/issues/18822"},"comments":{"href":"https://api.github.com/repos/godotengine/godot/issues/18822/comments"},"review_comments":{"href":"https://api.github.com/repos/godotengine/godot/pulls/18822/comments"},"review_comment":{"href":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godotengine/godot/pulls/18822/commits"},"statuses":{"href":"https://api.github.com/repos/godotengine/godot/statuses/f3c09b5088503b46ad1ca7afbd56c13a2565627d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":16,"review_comments":14,"maintainer_can_modify":false,"commits":0,"additions":0,"deletions":0,"changed_files":0}}
{"actor":{"display_login":"QbieShay"}}