So.. I have an 'static' object just spinning (I will call it earth for better understanding), and other that goes on its direction (comet).
I have this math that almost do what I want:
When the comet hits earth:
Set X to CenterX + cos(angle) * dist
Set Y to CenterY + sin(angle) * dist
But with this method, the comet don't start to rotate around earth from the impact point, but it teleports to the angle that earth is facing...
How can I make it work properly?