- Home /
 
 
               Question by 
               timcommandeur · May 22, 2013 at 12:18 PM · 
                collisionplaneboundsintersection  
              
 
              Check if mesh.bounds intersect a plane
Hey all,
I want to check if a boundingbox intersects a given plane. The plane must be a given vector and not a mesh.
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Graham-Dunnett · May 22, 2013 at 12:40 PM
For each of the 8 verts of the bounding box, call `Plane.GetSide`. Store the result. If the array of booleans are all positive or all negative, then the bounding box does not intersect. Otherwise the array has a mix of true and false, and the bounding box intersects the plane.
Your answer