{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/4263","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/4263/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4263/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/4263/events","html_url":"https://github.com/godotengine/godot/issues/4263","id":146890927,"number":4263,"title":"AnimationPlayer relative positions","user":{"login":"Alex-doc","id":9847430,"avatar_url":"https://avatars.githubusercontent.com/u/9847430?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex-doc","html_url":"https://github.com/Alex-doc","followers_url":"https://api.github.com/users/Alex-doc/followers","following_url":"https://api.github.com/users/Alex-doc/following{/other_user}","gists_url":"https://api.github.com/users/Alex-doc/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex-doc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex-doc/subscriptions","organizations_url":"https://api.github.com/users/Alex-doc/orgs","repos_url":"https://api.github.com/users/Alex-doc/repos","events_url":"https://api.github.com/users/Alex-doc/events{/privacy}","received_events_url":"https://api.github.com/users/Alex-doc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/discussion","name":"discussion","color":"ee77ee"},{"url":"https://api.github.com/repos/godotengine/godot/labels/feature%20proposal","name":"feature proposal","color":"1144ff"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T10:47:06Z","updated_at":"2016-04-08T15:48:37Z","closed_at":null,"body":"Hello!\r\nI feel AnimationPlayer is missing a \"relative position\" feature.\r\nTo be more clear: the actual location of the animation would be relative to the\r\nlocal position instead of the absolute world position.\r\n\r\nFor instance, it would allow to create platforms that move in a circular pattern without remaking the animation every time for each platform.\r\n\r\nIt surely can be obtained with Tween but is not as immediate and user friendly as it would be\r\nto have it in the AnimationPlayer directly.\r\n\r\nWhich would be the most elegant way to implement it?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/207489046","html_url":"https://github.com/godotengine/godot/issues/4263#issuecomment-207489046","issue_url":"https://api.github.com/repos/godotengine/godot/issues/4263","id":207489046,"user":{"login":"Alex-doc","id":9847430,"avatar_url":"https://avatars.githubusercontent.com/u/9847430?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex-doc","html_url":"https://github.com/Alex-doc","followers_url":"https://api.github.com/users/Alex-doc/followers","following_url":"https://api.github.com/users/Alex-doc/following{/other_user}","gists_url":"https://api.github.com/users/Alex-doc/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex-doc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex-doc/subscriptions","organizations_url":"https://api.github.com/users/Alex-doc/orgs","repos_url":"https://api.github.com/users/Alex-doc/repos","events_url":"https://api.github.com/users/Alex-doc/events{/privacy}","received_events_url":"https://api.github.com/users/Alex-doc/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T15:48:37Z","updated_at":"2016-04-08T15:48:37Z","body":"I see, you are right. Adding a parent `Node2D` does exactly what I meant, so the implementation in the `AnimationPlayer` would be pointless.\r\n\r\nCan you specify a bit on the `move_up` animation? Can't that also be achieved with an animated sprite with `AnimationPlayer` attached?\r\n\r\n(apart of discussion in the `move_up,` I feel the issue can be closed)"}}