It looks like you're new here. If you want to get involved, click one of these buttons!
Hey, so yeah I can’t remember how to use these lol. I’m trying to animate my player sprite by rotating it but when I rotate it at a 45 degree angle, it rotates from whatever center point i don’t want. I can’t remember how I use translation I believe to correct this so it rotates around the center of the sprite.
Thanks guys!
Comments
Here's an example where a sprite rotates under your finger wherever you touch the screen
Basically translate to the position, rotate, translate back
@Programmer1500 Here's an example using tween.