I’ve read through these forums and I know this topic has been covered many times, but I’ve spent the best part of a week trying to get my head around collision detection after scouring the internet and books trying to understand it.
I believe I have made a start and would like an opinion of whether I’m on the right track or barking up the wrong tree. This is my understanding of it so far:
Assuming there are two cubes made up of quads, we can use an if statement to check if the x,y,z co-ordinates of (the center of one cube + the x,y,z distance from the centre to the faces) corresponds to the same x,y,z values of the second cube. If they do then a collision has occurred and we do whatever code follows.
Am I correct, roughly, or completely off?
I would appreciate some help as this is turning my head from sideshow bob to homer simpson with frustration.