can save and load player loc/rot and held guns

This commit is contained in:
derek
2024-12-02 14:59:43 -06:00
parent 842cc7ecfd
commit eee708c7f1
9 changed files with 110 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=4 uid="uid://cwutm86yp0rk6"]
[gd_scene load_steps=9 format=4 uid="uid://cwutm86yp0rk6"]
[ext_resource type="Script" path="res://scripts/crown.gd" id="1_imbjk"]
@@ -105,6 +105,9 @@ _data = {
"crown_float": SubResource("Animation_dcho3")
}
[sub_resource type="SphereShape3D" id="SphereShape3D_8rss4"]
radius = 2.0
[node name="Crown" type="Node3D"]
script = ExtResource("1_imbjk")
@@ -118,3 +121,10 @@ libraries = {
"": SubResource("AnimationLibrary_7qbml")
}
autoplay = "crown_float"
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("SphereShape3D_8rss4")