- Home /
Can't Ignore a Layer when raycat
Hi, I'm working on a top down tank game, the player can move using the arrows and aim the turret with the cursor. There are walls on the level to serve as cover and I want my turretControler script to Ignore them so the raycat goes through it and hits the ground . I've been trying to get my raycast to Ignore the wallLayer but then the turret does't move anymore. What am I doing wrong ? (The script sits on the turret)
 

 
                 
                sans-titre.png 
                (17.8 kB) 
               
 
                
                 
                sans-titre2.png 
                (205.0 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to create User layer that acts like the "Ignore Raycast" layer? 1 Answer
Need raycast to target child, not parent. 0 Answers
Ignoring Layer for OnMouseEnter/OnMouseExit 0 Answers
function OnMouseOver() ignore selected raycast 1 Answer
Ignoring an object (using raycast with layers) is not working 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                