{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10698","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10698/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10698/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/10698/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/10698","id":148195764,"number":10698,"title":"20077105: Setting anchorPoint on node with negative scale causes position, scale change","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/2","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iOS","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/2/labels","id":1237416,"number":2,"title":"iOS","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":1802,"closed_issues":6,"state":"open","created_at":"2015-08-03T02:08:30Z","updated_at":"2016-04-13T22:01:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-13T22:01:52Z","updated_at":"2016-04-13T22:01:52Z","closed_at":null,"body":"#### Description\n\nSummary:\r\nWhen setting the anchor point on an SKSpriteNode (and presumably other nodes as well) that has a negative scale, the node will move more than one would expect from the new anchor point value, and it will also un-flip to a positive scale\r\n\r\nSteps to Reproduce:\r\nMinimal spriteKit project below. the 'ExpectedBehaviour.gif' file attached is what happens when the nodes scale is 0.5, 'ActualBehaviour.gif' is what happens when the nodes scale is -0.5. \r\n\r\n-(void)didMoveToView:(SKView *)view {\r\n    SKSpriteNode *sprite = [SKSpriteNode spriteNodeWithImageNamed:@\"Spaceship\"];\r\n    sprite.position = CGPointMake(500, 500);\r\n    sprite.scale = //-0.5 for broken case //0.5 for expected case\r\n    [self addChild:sprite];\r\n    self.ship = sprite;\r\n\r\n}\r\n\r\n-(void)mouseDown:(NSEvent *)theEvent {\r\n    self.ship.anchorPoint = CGPointMake(self.ship.anchorPoint.x + 0.01f, self.ship.anchorPoint.y);\r\n}\r\n\r\nExpected Results:\r\nWhen the node has a negative scale, I would expect it to operate just like the node in ExpectedBehaviour.gif, except mirrored\r\n\r\nActual Results:\r\nInstead the node visibly flips and moves large distances that are disproportionate to the change in the anchor point\r\n\r\nVersion:\r\n8.1.3 (12B466)\r\n\r\nNotes:\r\nI've noted this as an iOS issue but I am seeing the exact same outcome in the MacOS version of SpriteKit\r\n\r\nConfiguration:\r\niPhone 6 128GB\r\n\r\nAttachments:\r\nExpectedBehaviour - https://dl.dropboxusercontent.com/s/nebzn4z5v1hh8eu/CEB7A2E7-0B17-41CB-B73B-6C58BD60A8B2-5890-000025F865CD65EF.gif?dl=0\r\nBroken Behaviour - https://dl.dropboxusercontent.com/s/psymiho4y2wi543/34B7E358-BDA5-44FA-8F57-52DFBC665ED2-5890-00002615619AD36E.gif?dl=0\n\n-\nProduct Version: 8.1.3 (12B466)\nCreated: 2015-03-06T22:48:21.567855\nOriginated: 2015-03-06T15:46:00\nOpen Radar Link: http://www.openradar.me/20077105"}}