Browse Source

Merge pull request #77 from aaronfranke/bullet-aim

Prevent aiming at other bullets by setting their collision layer to zero
Aaron Franke 5 years ago
parent
commit
99e4f80969
1 changed files with 1 additions and 0 deletions
  1. 1 0
      player/bullet/bullet.tscn

+ 1 - 0
player/bullet/bullet.tscn

@@ -170,6 +170,7 @@ tracks/5/keys = {
 }
 
 [node name="Bullet" type="KinematicBody"]
+collision_layer = 0
 script = ExtResource( 1 )
 
 [node name="MeshInstance" type="MeshInstance" parent="."]