I made two cars with sprites like in the picture.
Two cars with (width: 32px and height: 20px).
Everything works great.
There is no collision detection now. I want to do a collision detection without the sprites.
I want it so, because I want to add 3d Cars at these positions and with his rotations.
I mean, Collision detection without sprites in 2d.
In the end game, there will be no sprites. Only 3d Objects. But the collision detection should be in 2d.
Anybody has some codes for that? What are the keywords to search for that?
I searched and came to Polygon and Intersector. But I don't found some examples or
I want to make it without Box2D.
Thank You for any help.