Skip to content
Snippets Groups Projects
Select Git revision
  • 4aa5c0e277dc9133b2b736407d59c7e4102527b7
  • master default protected
2 results

sco_edt_cal.py

Blame
  • Forked from Jean-Marie Place / SCODOC_R6A06
    Source project has a limited visibility.
    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")