spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit

This commit is contained in:
derek
2025-04-04 16:30:51 -05:00
parent 6cd06193b5
commit ce08df66e6
15 changed files with 99 additions and 76 deletions

View File

@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://c5t4uqihf8q0i"]
[ext_resource type="Script" uid="uid://fs6qd8efarl7" path="res://scripts/csg_spawner.gd" id="1_l7ryb"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hthjk"]
transparency = 1
shading_mode = 0
albedo_color = Color(1, 1, 1, 0)
[node name="ChestSpawner" type="CSGBox3D" groups=["chest_spawner"]]
material = SubResource("StandardMaterial3D_hthjk")
script = ExtResource("1_l7ryb")