void Player::move(){
angle = 0.5;
if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right) || sf::Keyboard::isKeyPressed(sf::Keyboard::D)){
transform.rotate(angle, {600, 350});
}
I have defined the center as (600, 350).
An object will appear at the center and should fly radially outwards in a straight line to the players position.
I'm thinking, player->getPosition() ?
and take the difference between the player and object.
But then how to make the object fly past the player?