|
| 06 Jul 2013 01:30 PM |
| Is there any way to tell if a cube is intersecting a sphere? I do not mean the center, but ANY part of it (such as a corner, or part of the middle) |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2013 04:04 PM |
| You would have to calculate planar intersections for 100% accuracy, there are other tests like raycasting that you could do, but there will always be special cases where it returns false when it is actually true |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2013 04:50 PM |
| Take each edge off of the cube and then check if the line intersects the sphere. |
|
|
| Report Abuse |
|
|
| |
|