tweaks and improvements to the tracking pistol

This commit is contained in:
derek
2024-11-26 10:31:34 -06:00
parent caaf0ff519
commit 86a05335e7
4 changed files with 124 additions and 40 deletions

View File

@@ -894,6 +894,14 @@ shape = SubResource("SphereShape3D_n7n6o")
visible = false
mesh = SubResource("ArrayMesh_v85cv")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0258179, 1.03281, 0.00894165)
shape = SubResource("BoxShape3D_xxx55")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31018, 0.440626)
shape = SubResource("SphereShape3D_53sks")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
path_height_offset = 0.5
avoidance_enabled = true
@@ -921,14 +929,6 @@ one_shot = true
stream = ExtResource("10_2qmhc")
volume_db = 10.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0258179, 1.03281, 0.00894165)
shape = SubResource("BoxShape3D_xxx55")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31018, 0.440626)
shape = SubResource("SphereShape3D_53sks")
[connection signal="body_entered" from="body/Area3D" to="body/Area3D" method="_on_body_entered"]
[connection signal="body_part_hit" from="body/Area3D" to="." method="_on_area_3d_body_part_hit"]
[connection signal="timeout" from="Timers/prefire_timer" to="." method="_on_prefire_timer_timeout"]