Skip to content

Commit

Permalink
Merge pull request #77 from aaronfranke/bullet-aim
Browse files Browse the repository at this point in the history
Prevent aiming at other bullets by setting their collision layer to zero
  • Loading branch information
aaronfranke authored Jun 30, 2020
2 parents 28a1de4 + 0d8fd4f commit 99e4f80
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 99e4f80

Please sign in to comment.