Skip to content

Commit

Permalink
Prevent aiming at other bullets by setting their collision layer to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronfranke committed Jun 29, 2020
1 parent 28a1de4 commit 0d8fd4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions player/bullet/bullet.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ tracks/5/keys = {
}

[node name="Bullet" type="KinematicBody"]
collision_layer = 0
script = ExtResource( 1 )

[node name="MeshInstance" type="MeshInstance" parent="."]
Expand Down

0 comments on commit 0d8fd4f

Please sign in to comment.