Files
Toolkits.AGUI/AGUI.CharacterButton3D.tscn

73 lines
2.7 KiB
Plaintext

[gd_scene format=3 uid="uid://bcm2gnlwsvvd3"]
[ext_resource type="Script" uid="uid://3m5f4lxd2x3c" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.CharacterButton3D.gd" id="1_glpbs"]
[ext_resource type="Script" uid="uid://dbv4hr2h4cfug" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.CharacterButton3D.Collider.gd" id="2_708ma"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xeeyd"]
[sub_resource type="Animation" id="Animation_1du0n"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0)
[sub_resource type="Animation" id="Animation_xjbij"]
resource_name = "interact"
length = 0.1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.03333334, 1, 0, -0.05, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7pntp"]
_data = {
&"RESET": SubResource("Animation_1du0n"),
&"interact": SubResource("Animation_xjbij")
}
[node name="AGUIIconButton3D" type="Node3D" unique_id=81597797]
script = ExtResource("1_glpbs")
baseColor = Color(0.52195215, 0.08105264, 0.9999997, 1)
pressedColor = Color(0.3094211, 0.50286317, 1, 1)
char = "?"
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1473098479]
collision_layer = 2
collision_mask = 2
script = ExtResource("2_708ma")
[node name="Collider" type="CollisionShape3D" parent="StaticBody3D" unique_id=335334790]
transform = Transform3D(1, 0, 0, 0, 0.011110017, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_xeeyd")
[node name="MeshRoot" type="CSGCombiner3D" parent="StaticBody3D" unique_id=1112723183]
transform = Transform3D(1, 0, 0, 0, 0.024529457, 0, 0, 0, 1, 0, 0, 0)
operation = 2
[node name="MainMesh" type="CSGBox3D" parent="StaticBody3D/MeshRoot" unique_id=1438018078]
[node name="Subtractor_Box" type="CSGBox3D" parent="StaticBody3D/MeshRoot/MainMesh" unique_id=842962794]
operation = 2
[node name="Subtractor_Cylinder" type="CSGCylinder3D" parent="StaticBody3D/MeshRoot/MainMesh/Subtractor_Box" unique_id=1951089581]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
operation = 2
radius = 0.734
[node name="Animator" type="AnimationPlayer" parent="StaticBody3D" unique_id=53081295]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_7pntp")
[node name="Label3D" type="Label3D" parent="StaticBody3D" unique_id=1429557569]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0.024055064, 0)
text = "?"
font_size = 128
outline_size = 0