• SFML::Rotating a rectangle around it's center, or different axis.
    3 replies, posted
How can I set the center point for rotation of an sf::Shape? At the moment when I rotate it, it rotates around its top left corner. How can I rotate it around it's center position instead?
SetCenter(Size/2)
If you're using 2.0 it's SetOrigin
Thank you.
Sorry, you need to Log In to post a reply to this thread.