added user action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://0t0cvsitlfmm"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://0t0cvsitlfmm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_nn5da"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://cahq2fdeqqwhx" path="res://Blends/Mobel/DoubleBeds.obj" id="2_8ssp7"]
|
||||
@@ -7,6 +7,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://lbbig7lpdun3" path="res://Blends/Mobel/textures/Material.003 Roughness.png" id="4_dn7et"]
|
||||
[ext_resource type="Shader" uid="uid://c08eg1piwoy3t" path="res://Shaders/outline.gdshader" id="5_c1046"]
|
||||
[ext_resource type="Texture2D" uid="uid://kl1jplui8wfq" path="res://Blends/Mobel/textures/Material.003 Base Color.png" id="5_sp2kd"]
|
||||
[ext_resource type="Script" uid="uid://fjdtka5s1dxi" path="res://Scripts/objects/DoubleBeds.gd" id="8_c1046"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dn7et"]
|
||||
render_priority = 0
|
||||
@@ -44,6 +45,9 @@ albedo_texture = ExtResource("5_sp2kd")
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_sp2kd"]
|
||||
size = Vector3(5.62061, 2.52063, 2.12427)
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_c1046"]
|
||||
radius = 0.870929
|
||||
|
||||
[node name="DoubleBeds" type="Node3D" node_paths=PackedStringArray("meshInstance")]
|
||||
script = ExtResource("1_nn5da")
|
||||
meshInstance = NodePath("DoubleBeds")
|
||||
@@ -61,3 +65,17 @@ surface_material_override/2 = SubResource("StandardMaterial3D_tma46")
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.218994, -0.287048, 0.10144)
|
||||
shape = SubResource("BoxShape3D_sp2kd")
|
||||
|
||||
[node name="ActionNode" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.3739)
|
||||
script = ExtResource("8_c1046")
|
||||
|
||||
[node name="Area3d" type="Area3D" parent="ActionNode"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="ActionNode/Area3d"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.839141, 0.470829)
|
||||
shape = SubResource("SphereShape3D_c1046")
|
||||
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="ActionNode/Area3d"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.839141, 0.470829)
|
||||
radius = 0.886475
|
||||
|
||||
Reference in New Issue
Block a user