happy with turret turning

This commit is contained in:
Derek
2025-04-30 20:33:49 -05:00
parent 4f7896cec5
commit 303a12b827
3 changed files with 22 additions and 20 deletions

View File

@@ -805,7 +805,7 @@ size = Vector3(0.816284, 0.725159, 0.75531)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_gicen"]
height = 0.356583
radius = 0.207031
radius = 0.135742
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ycipa"]
random_pitch = 1.1
@@ -886,6 +886,7 @@ metadata/_custom_type_script = "uid://dhxolagi0b5s1"
[node name="Attack" type="Node" parent="StateMachine" node_paths=PackedStringArray("enemy")]
script = ExtResource("10_gicen")
enemy = NodePath("../..")
body_turn_speed = 1.0
[node name="Reload" type="Node" parent="StateMachine" node_paths=PackedStringArray("enemy")]
script = ExtResource("11_ekglj")