{"action":"closed","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/3343","repository_url":"https://api.github.com/repos/photonstorm/phaser","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/3343/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/3343/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/3343/events","html_url":"https://github.com/photonstorm/phaser/issues/3343","id":303141666,"number":3343,"title":"parnet - child relationship in phaser 3 ","user":{"login":"bogdaniudean","id":29237455,"avatar_url":"https://avatars3.githubusercontent.com/u/29237455?v=4","gravatar_id":"","url":"https://api.github.com/users/bogdaniudean","html_url":"https://github.com/bogdaniudean","followers_url":"https://api.github.com/users/bogdaniudean/followers","following_url":"https://api.github.com/users/bogdaniudean/following{/other_user}","gists_url":"https://api.github.com/users/bogdaniudean/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdaniudean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdaniudean/subscriptions","organizations_url":"https://api.github.com/users/bogdaniudean/orgs","repos_url":"https://api.github.com/users/bogdaniudean/repos","events_url":"https://api.github.com/users/bogdaniudean/events{/privacy}","received_events_url":"https://api.github.com/users/bogdaniudean/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-07T15:25:05Z","updated_at":"2018-03-09T15:58:10Z","closed_at":"2018-03-09T15:58:09Z","author_association":"NONE","body":"What I am trying to achive is to link the head to the body so when i move the sprite of the body the sprite of the head will follow the movement. I am new to Phaser but as far as I've seen in v2 this could be done by using the .addChild(). In Phaser 3 the game seems to freeze if I call this. Any clue?\r\n```\r\nvar body = this.physics.add.sprite(135, 236, 'body');\r\nvar head = this.physics.add.sprite(135, 120, 'head');\r\n\r\n// body.addChild(head);\r\n```\r\n"}}
{"actor":{"display_login":"photonstorm"}}