mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 19:43:46 +00:00
Chests
This commit is contained in:
parent
04ea9dd191
commit
b89043cd8c
11 changed files with 789 additions and 648 deletions
|
|
@ -1,16 +1,29 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dyi4ji0t3ryi4"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dyi4ji0t3ryi4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fm00gyh0hgmj" path="res://Scripts/Components/Actors/3D/Chest3D.cs" id="1_rpeec"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5yq3ibbfoo0" path="res://3D/BlockbenchModels/Chest/Chest.gltf" id="1_sxwrc"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_sefe4"]
|
||||
size = Vector3(0.633301, 0.449463, 0.509521)
|
||||
size = Vector3(0.633301, 0.449646, 0.509521)
|
||||
|
||||
[node name="Chest" type="StaticBody3D"]
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_sxwrc"]
|
||||
radius = 0.467832
|
||||
|
||||
[node name="Chest" type="Area3D" groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_rpeec")
|
||||
|
||||
[node name="SolidChest" type="StaticBody3D" parent="."]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00463867, -0.022522, 0.0032959)
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="SolidChest"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00463867, -0.279144, 0.0032959)
|
||||
shape = SubResource("BoxShape3D_sefe4")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_sxwrc")]
|
||||
[node name="blockbench_export" parent="SolidChest" instance=ExtResource("1_sxwrc")]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.271027, 0)
|
||||
shape = SubResource("SphereShape3D_sxwrc")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue