Collision Code
I don’t understand the code fully yet.
I decided to turn off the rotation stuff.
Then I noticed the original simple collision detection didn’t work.
Turns out there was a bug in there.
As it checks if the rotation collision result needs to be used or not.
That result actually doesn’t play well right now.
The other thing is the positions I think. I assume they are still wrong as rendering and in theory calculating the same position doesn’t work right. So there is something I have to iron out there. Then I can see if the simple collision stuff works. Only then can I move on to the more complicated algorithm.