- Home /
 
               Question by 
               GNoyez · Jul 03, 2019 at 06:31 AM · 
                physicsraycastbug-perhaps  
              
 
              Physics.IgnoreRaycastLayer putting GameObject on layer 4 water.
I'm trying to figure out how to make raycast ignore some of my GameObjects. I started reading the documentation and I noticed this page. Physics.IgnoreRaycastLayer
When I checked it in the code it is the equivalent of layer 4. But the problem is that Layer 4 is "water" instead of "Ignore Raycast".
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Raycasting stops working randomly 2 Answers
RaycastHit if/else Problem (bug?) 0 Answers
move a object hit by raycast 2 Answers
Physics required for collision detection? 2 Answers
Physics.Raycast only finds some objects 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                