Switched to Godot's range fade

This commit is contained in:
2024-02-17 23:18:50 +01:00
parent cf876a0ab8
commit d5681e5dbb
4 changed files with 7 additions and 14 deletions

View File

@ -65,8 +65,10 @@ shape = SubResource("SphereShape3D_s5ct7")
[node name="HUD" parent="." node_paths=PackedStringArray("health") instance=ExtResource("3_4jtio")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.986405, 0)
visible = false
layers = 256
visibility_range_end = 50.0
visibility_range_end_margin = 10.0
visibility_range_fade_mode = 1
health = NodePath("../Health")
[node name="Animation" type="AnimationPlayer" parent="."]
@ -91,6 +93,5 @@ drop = ExtResource("7_i0rtb")
[node name="Visibility" parent="." node_paths=PackedStringArray("health", "hud") instance=ExtResource("9_ssc7p")]
health = NodePath("../Health")
hud = NodePath("../HUD")
hud_distance = 50.0
physics_distance = 50.0
render_distance = 100.0