Intersection of cubes in 3D space

1k Views Asked by At

There are two cubes cubeA and cubeB. cubeA has 8 points and cubeB has 8 points. How do I check if the cubes are intersecting. Cubes are not aligned along any axis and they have different rotations.