So I have a situation where you have a little top down spaceship flying around. There's another object in the middle of the screen and when you ram it, I want it to move, but just a little bit in the direction you hit it.
Specifically, I want you to make contact with it, push it, and then instantly turn off the collision detection. And actually the player "turns on" his own collision detection for about a second (think like a fighting game hitbox). So most of the time, your collision is OFF with the object, but if you hit it while it's on, it should push the object and instantly turn the collision OFF again.
I think I'm doing stuff in a sort of OK way, but the problem is, it seems like the initial "collision" never ends. So what you get is like, the collision *detection* turns off, but the existing collision seems to still persist, so the player can't travel "through" the object. Here's a couple of screens.
Is there a way to kill existing collisions or something? Or is there some other way this can be accomplished? Thanks.