- Home /
 
               Question by 
               mariannapizzo · May 24 at 04:48 PM · 
                cubeintersectioncubesintersect  
              
 
              How can I compute the intersection between two cubes?
Hi guys, I'm new to Unity 3D. I wanna ask you if there is a way to computer the intersection between two cubes that lays on the floor (with known position and scale). The cubes can have different sizes and positions. To be clear, in the image you can see the situation that I want to handle: 
Thanks x
 
                 
                7.png 
                (44.7 kB) 
               
 
              
               Comment
              
 
               
              The case you show is probably the simplest that can happen. If you can describe more constraints, it can be made very easy or very hard (for example, if the cubes can also rotate)
Your answer
 
 
             Follow this Question
Related Questions
teleport an object in space 2 Answers
How to show only the intersection between two meshes at runtime? 0 Answers
Intersection Shader from Final Fantasy Crystal Chronicles 0 Answers
Cubes are showing outlines 1 Answer
Problem with getting colliding objects 3 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                