I've been stuck with this problem for a while now. Collisions in some games are easy, because there is usually a lack of rotating objects. But in my engine, i am trying to make a collision with moving object, but the player object rotates which usually cause the objects to get stuck in one another.
This has been a pain in the butt to solve, but i suspect i am going to have to make a code that only lets the sprite rotate if the place is free?
Here is a screenshot of my problem:
Notice how the ship is stuck in the asteroid.
Thank you in advance, credit will be given (whether you like it or not > )