SFML community forums
Help => Graphics => Topic started by: Snizzlenose on May 30, 2015, 06:38:58 pm
-
Should you keep the origin as it is in the top left corner or change it to say center mass of your sprite / shape?
I assume this depends on preference, but does it come with implications further on?
-
It doesn't matter. Do whatever is easier.
-
but does it come with implications further on?
Yes. The origin is not only the reference point for translation, but also for rotation and scale. If you need those transforms, you usually want the origin to be the object's center.