d13 Posted May 14, 2014 Share Posted May 14, 2014 Hello! Could someone suggest the best way of making a Pixi sprite rotate around its centre without changing its anchor.x and anchor.y?I want to position sprites based on their top right corners, but make them rotate around their centres. Quote Link to comment Share on other sites More sharing options...
alex_h Posted May 14, 2014 Share Posted May 14, 2014 Nest it centered within a parent displayObjectContainer and rotate the parent Quote Link to comment Share on other sites More sharing options...
rich Posted May 14, 2014 Share Posted May 14, 2014 Sprite.pivot (set in pixel values, not percentage) Quote Link to comment Share on other sites More sharing options...
d13 Posted May 15, 2014 Author Share Posted May 15, 2014 Thank you so much, I will try those suggestions! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.