- Home /
 
              This question was 
             closed Oct 09, 2017 at 12:56 AM by 
             ZachRoman121 for the following reason: 
             
 
            Other
 
               Question by 
               ZachRoman121 · Oct 08, 2017 at 08:00 AM · 
                c#objectpositioningplacementside  
              
 
              Place an object on the side of another object
Hello!
Is there any way of raycasting on an object, Finding what side was hit, Then setting the position of another object to that side's position?
I have been trying numerous ways of doing this.. And i still cannot find any.. I have found out that i can use hit.normal to find the side i hit.. I tried getting the object's position (center) and adding the size of the object to it.. I got some weird positions when trying to use this
My game really depends on this.. Any help is appreciated
               Comment