{"action":"created","issue":{"url":"https://api.github.com/repos/craftyjs/Crafty/issues/791","labels_url":"https://api.github.com/repos/craftyjs/Crafty/issues/791/labels{/name}","comments_url":"https://api.github.com/repos/craftyjs/Crafty/issues/791/comments","events_url":"https://api.github.com/repos/craftyjs/Crafty/issues/791/events","html_url":"https://github.com/craftyjs/Crafty/issues/791","id":35847695,"number":791,"title":"Collision polygon moves on resize","user":{"login":"austinh","id":659239,"avatar_url":"https://avatars.githubusercontent.com/u/659239?v=3","gravatar_id":"","url":"https://api.github.com/users/austinh","html_url":"https://github.com/austinh","followers_url":"https://api.github.com/users/austinh/followers","following_url":"https://api.github.com/users/austinh/following{/other_user}","gists_url":"https://api.github.com/users/austinh/gists{/gist_id}","starred_url":"https://api.github.com/users/austinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinh/subscriptions","organizations_url":"https://api.github.com/users/austinh/orgs","repos_url":"https://api.github.com/users/austinh/repos","events_url":"https://api.github.com/users/austinh/events{/privacy}","received_events_url":"https://api.github.com/users/austinh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/craftyjs/Crafty/labels/Docs","name":"Docs","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-06-17T00:11:05Z","updated_at":"2015-01-30T20:48:36Z","closed_at":"2015-01-30T20:48:36Z","body":"I need to resize an entity. I have 2 collision hitboxes per size, one for the resized entity and one for the larger original sized entity. Whenever I resize the entity down the collision hitbox seems to move away.\r\n\r\nhttp://jsfiddle.net/ysDtQ/86/\r\n\r\nLook at what I did here! The more .collision is called the more it moves away. I can't figure out why this happens. Should i be able to switch the collision hitbox without stuff moving? I can't find anything in the source code that would cause this to happen except maybe some on(\"Resize\") math error?"},"comment":{"url":"https://api.github.com/repos/craftyjs/Crafty/issues/comments/72267853","html_url":"https://github.com/craftyjs/Crafty/issues/791#issuecomment-72267853","issue_url":"https://api.github.com/repos/craftyjs/Crafty/issues/791","id":72267853,"user":{"login":"starwed","id":34907,"avatar_url":"https://avatars.githubusercontent.com/u/34907?v=3","gravatar_id":"","url":"https://api.github.com/users/starwed","html_url":"https://github.com/starwed","followers_url":"https://api.github.com/users/starwed/followers","following_url":"https://api.github.com/users/starwed/following{/other_user}","gists_url":"https://api.github.com/users/starwed/gists{/gist_id}","starred_url":"https://api.github.com/users/starwed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starwed/subscriptions","organizations_url":"https://api.github.com/users/starwed/orgs","repos_url":"https://api.github.com/users/starwed/repos","events_url":"https://api.github.com/users/starwed/events{/privacy}","received_events_url":"https://api.github.com/users/starwed/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T20:48:36Z","updated_at":"2015-01-30T20:48:36Z","body":"This is basically addressed by #858, so closing.  :)"}}