22 lines
710 B
Plaintext
22 lines
710 B
Plaintext
|
[gd_scene load_steps=4 format=3 uid="uid://yxxucw3knx3x"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://VGDL/mesh_button.gd" id="1_bb8um"]
|
||
|
|
||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ksih8"]
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_som2b"]
|
||
|
|
||
|
[node name="MeshButton" type="Area3D"]
|
||
|
collision_layer = 3
|
||
|
collision_mask = 2
|
||
|
script = ExtResource("1_bb8um")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
shape = SubResource("BoxShape3D_ksih8")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||
|
mesh = SubResource("BoxMesh_som2b")
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||
|
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|