Select Git revision
Button_v3.tscn
Forked from
IVMI / Ivmi-Builder
Source project has a limited visibility.
-
Florent Berthaut authoredFlorent Berthaut authored
Button_v3.tscn 1.23 KiB
[gd_scene load_steps=6 format=3 uid="uid://iu0s73mjbqfx"]
[ext_resource type="Script" path="res://addons/ivmi-builder/techniques/control/Button/Button_v3.gd" id="1"]
[sub_resource type="BoxMesh" id="1"]
[sub_resource type="BoxMesh" id="2"]
[sub_resource type="StandardMaterial3D" id="3"]
albedo_color = Color(1, 0, 0, 1)
[sub_resource type="BoxShape3D" id="4"]
size = Vector3(1, 1, 0.553743)
[node name="Button" type="Node3D"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("1")
[node name="ButtonBase" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.4, 0, 0, 0)
mesh = SubResource("1")
material/0 = null
[node name="Button" type="MeshInstance3D" parent="."]
transform = Transform3D(0.75, 0, 0, 0, 0.75, 0, 0, 0, 0.3, 0, 0, 0.35)
mesh = SubResource("2")
material/0 = SubResource("3")
[node name="Released" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.35)
[node name="Pressed" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.15)
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("4")