소스 검색

Merge pull request #77 from aaronfranke/bullet-aim

Prevent aiming at other bullets by setting their collision layer to zero
Aaron Franke 5 년 전
부모
커밋
99e4f80969
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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="."]