2023-11-28 00:46:05 +02:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://bsjqdvkt0u87c"]
|
2023-11-11 19:17:25 +02:00
|
|
|
|
2023-11-16 20:23:17 +02:00
|
|
|
[ext_resource type="Script" path="res://content/ui/components/button/button.gd" id="1_74x7g"]
|
2023-11-26 22:11:05 +02:00
|
|
|
[ext_resource type="ArrayMesh" uid="uid://iv4lk77axlk4" path="res://assets/immersive_home/button.obj" id="2_cve3l"]
|
2023-11-11 19:17:25 +02:00
|
|
|
|
2023-11-26 22:11:05 +02:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8s8ln"]
|
|
|
|
transparency = 1
|
|
|
|
albedo_color = Color(0, 0.501961, 0.886275, 1)
|
2023-11-11 19:17:25 +02:00
|
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_o4j7g"]
|
|
|
|
points = PackedVector3Array(-0.025, -0.01, -0.025, -0.025, 0.01, -0.025, 0.025, -0.01, -0.025, -0.025, -0.01, 0.025, -0.025, 0.01, 0.025, 0.025, 0.01, -0.025, 0.025, -0.01, 0.025, 0.025, 0.01, 0.025)
|
|
|
|
|
2023-11-18 15:27:42 +02:00
|
|
|
[sub_resource type="Animation" id="Animation_gvfrg"]
|
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
2023-11-28 00:46:05 +02:00
|
|
|
tracks/0/path = NodePath("Body:scale:y")
|
2023-11-18 15:27:42 +02:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
2023-11-28 00:46:05 +02:00
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
2023-11-18 15:27:42 +02:00
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
2023-11-28 00:46:05 +02:00
|
|
|
tracks/1/path = NodePath("Body:position:y")
|
2023-11-18 15:27:42 +02:00
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0),
|
2023-11-28 00:46:05 +02:00
|
|
|
"points": PackedFloat32Array(0.01, -0.25, 0, 0.25, 0),
|
2023-11-18 15:27:42 +02:00
|
|
|
"times": PackedFloat32Array(0)
|
|
|
|
}
|
|
|
|
|
2023-11-11 19:17:25 +02:00
|
|
|
[sub_resource type="Animation" id="Animation_iu2ed"]
|
|
|
|
resource_name = "down"
|
2023-11-16 20:23:17 +02:00
|
|
|
length = 0.2
|
2023-11-28 00:46:05 +02:00
|
|
|
step = 0.01
|
2023-11-11 19:17:25 +02:00
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
2023-11-28 00:46:05 +02:00
|
|
|
tracks/0/path = NodePath("Body:scale:y")
|
2023-11-11 19:17:25 +02:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
2023-11-28 00:46:05 +02:00
|
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.12, -0.00966179, 0.500747, -0.13, 0.00874269, 0.25, 0),
|
2023-11-16 20:23:17 +02:00
|
|
|
"times": PackedFloat32Array(0, 0.2)
|
|
|
|
}
|
|
|
|
tracks/1/type = "bezier"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
2023-11-28 00:46:05 +02:00
|
|
|
tracks/1/path = NodePath("Body:position:y")
|
2023-11-16 20:23:17 +02:00
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
2023-11-28 00:46:05 +02:00
|
|
|
"points": PackedFloat32Array(0.0101447, -0.25, 0, 0.12, 0.000134136, 0.0051993, -0.12, 0.000145131, 0.25, 0),
|
2023-11-16 20:23:17 +02:00
|
|
|
"times": PackedFloat32Array(0, 0.2)
|
2023-11-11 19:17:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_sbgno"]
|
|
|
|
_data = {
|
2023-11-16 20:23:17 +02:00
|
|
|
"RESET": SubResource("Animation_gvfrg"),
|
|
|
|
"down": SubResource("Animation_iu2ed")
|
2023-11-11 19:17:25 +02:00
|
|
|
}
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_bqjii"]
|
|
|
|
size = Vector3(0.0501598, 0.0195937, 0.0501598)
|
|
|
|
|
|
|
|
[node name="Button" type="Node3D" groups=["ui_focus"]]
|
2023-11-16 20:23:17 +02:00
|
|
|
script = ExtResource("1_74x7g")
|
2023-11-26 01:02:03 +02:00
|
|
|
label = "Example Text"
|
2023-11-11 19:17:25 +02:00
|
|
|
|
2023-11-28 15:20:38 +02:00
|
|
|
[node name="Body" type="StaticBody3D" parent="." groups=["ui_focus_skip"]]
|
2023-11-28 00:46:05 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.01, 0)
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Body"]
|
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.005, 0)
|
2023-11-26 22:11:05 +02:00
|
|
|
mesh = ExtResource("2_cve3l")
|
2023-11-28 00:46:05 +02:00
|
|
|
skeleton = NodePath("../..")
|
2023-11-26 22:11:05 +02:00
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_8s8ln")
|
2023-11-11 19:17:25 +02:00
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body"]
|
2023-11-11 19:17:25 +02:00
|
|
|
shape = SubResource("ConvexPolygonShape3D_o4j7g")
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="Label" type="Label3D" parent="Body"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.005, 0)
|
2023-11-26 01:02:03 +02:00
|
|
|
pixel_size = 0.001
|
|
|
|
text = "Example Text"
|
|
|
|
font_size = 10
|
|
|
|
outline_size = 0
|
|
|
|
autowrap_mode = 3
|
|
|
|
width = 50.0
|
2023-11-28 00:46:05 +02:00
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_sbgno")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="FingerArea" type="Area3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0101447, 0)
|
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
|
|
|
monitoring = false
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="FingerArea"]
|
|
|
|
shape = SubResource("BoxShape3D_bqjii")
|