Transformations igrnores sf::Sprite's origin
问题 Transforming a sprite in SFML, does not regard it's new origin. In my case sf::Sprite is rotating around the axis that is in the left top corner ({0,0}) regardless its origin. Setting new origin with .setOrigin() earlier takes no effect. I am sure that sprite is getting the right origin position earlier which is center of rectangle. My code: In each of my Card class constructors I set the origin of my sprite. card_sprite.setOrigin(Card::get_default_single_card_size().x*Game::get_scale()/2