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!
lua
lua
Comments
https://deluxepixel.com
Likes: SinisterSoft