Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Rotating a group sprite about its center point - Gideros Forum

Rotating a group sprite about its center point

augustino_fpaugustino_fp Member
edited October 2017 in General questions
Hi everyone,

I've been running into some issues when attempting to rotate a group sprite (and hence all its children) about the group sprite's defined center point. Essentially what I want to accomplish is rotate all children around the group sprites anchorpoint by calling Group:setRotation. However, whenever I do this, the group sprite seems to rotate around the upper left anchor point (or something like that) rather than the center point. I have attached a quick example code to show essentially what my code resembles. Would anyone happen to know how to accomplish this? Thanks!


Sign In or Register to comment.