I need to provide collision detection to my 2d racing game.
My solution is to connect every car object with Rect object and make function like this:
Unfortunately, in documentation I haven't found any class that could keep a rotated Rect and provide intersect funtion.
How could it be solved?
Thanks in advance!
PS. It's my first project and I don't want to use andengine yet.