- Home /
 
               Question by 
               CF_3D · Apr 13 at 11:01 AM · 
                raycastraycastinglinerenderer  
              
 
              How would I set the end of my line renderer to the first collision point with a raycast?
I know I need to use another raycast, I'm just not sure how I would go about setting the line renderer's endpoint at the end of the raycast.
 
                 
                c5e0c0e735e18b18a660d4661a54bdfd-1.png 
                (22.0 kB) 
               
 
                
                 
                09ae6b372b802723f048e7c4042024a3.png 
                (207.0 kB) 
               
 
              
               Comment
              
 
               
              It would be easier to help with a screenshot of only the debug ray in game, and disabling the model you instantiate. (because the model COULD be too long and the ray may work just fine)
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                