Objective-c How to reset the anchor point for SKSpriteKitNode

+1 vote
113 views
asked Jul 10, 2015 in Objective C by jonathan (3,105 points)
Hi All

  Objective-c How to reset the anchor point for SKSpriteKitNode

1 Answer

0 votes
answered Jul 10, 2015 by kalpana (3,995 points)

Hi Jonathan

  Try this below code for your sprite  

rocket.anchorPoint = CGPointMake(0.5,1.0);
...