enemy bullet deletes after collision with scene objects now

This commit is contained in:
Derek
2024-07-19 08:34:56 -05:00
parent 8d3f1d2455
commit ae3437bb1b
5 changed files with 8 additions and 414 deletions

View File

@@ -90,8 +90,8 @@ skeleton = NodePath("")
[node name="RayCast3D" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.70846, 0.000340699, 0.0133128, -0.221788)
target_position = Vector3(0, 0, -1)
collision_mask = 3
hit_from_inside = true
collision_mask = 7
hit_back_faces = false
collide_with_areas = true
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]

File diff suppressed because one or more lines are too long

View File

@@ -582,7 +582,7 @@ radius = 0.25
script = ExtResource("1_7e7fe")
bullet = ExtResource("2_aew5r")
casing = ExtResource("3_6esjv")
bullet_speed = 100
bullet_speed = 75
bullet_drop = 0.01
[node name="TurretLook" type="RayCast3D" parent="."]