Added dynamic spawning and despawning of objects

This commit is contained in:
Aslan 2026-01-27 07:08:03 -05:00
parent adbb208436
commit e0cf8d9755
23 changed files with 794 additions and 350 deletions

View file

@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://cwgcue41fpm6j"]
[ext_resource type="Script" uid="uid://cbt6p1bhh4o8q" path="res://scripts/GameObjects/Nodes/StarNode.cs" id="1_o2f8k"]
[sub_resource type="SphereMesh" id="SphereMesh_o2f8k"]
radius = 5.0
height = 10.0
[sub_resource type="SphereShape3D" id="SphereShape3D_o2f8k"]
radius = 5.0
[node name="Star" type="StaticBody3D" unique_id=1306600716]
script = ExtResource("1_o2f8k")
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1423841842]
mesh = SubResource("SphereMesh_o2f8k")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1898956937]
shape = SubResource("SphereShape3D_o2f8k")