The point or points at which two or more shapes cross or overlap one another.
1
vote
0answers
96 views
Sketchy results from ray-plane intersection code
I've set up a demo with simple first-person controls using C++ and OpenGL, and it seems to work reasonably well. My goal is this: when the player looks at a plane and clicks the left mouse button, ...
1
vote
0answers
78 views
What to do after detecting OBB-OBB intersection
I'm using this code to detect intersections between two OBBs. The problem is that i don't know what to do after detecting it. I tried using a simple algorithm:
if (collision detected) {
...
-1
votes
0answers
20 views
Checking collision between Rectangle and Shape
In my game the player uses a Rectangle for his bounding box, he can do this because I only need to rotate the player image and not the acctual rectangle but for a eletric beam that one of the bosses ...