28 lines
932 B
Plaintext
28 lines
932 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://scripts/SetFastMusic.gd" type="Script" id=1]
|
|
[ext_resource path="res://Tape/tape.obj" type="ArrayMesh" id=2]
|
|
[ext_resource path="res://scripts/Library/Actions/TriggerOnCollision.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
[node name="TapeFast" type="Spatial"]
|
|
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
mesh = ExtResource( 2 )
|
|
|
|
[node name="Area" type="Area" parent="."]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Area"]
|
|
transform = Transform( 0.240864, 0, 0, 0, 1, 0, 0, 0, 1.66505, 0, 0, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="TriggerOnCollision" type="Node" parent="Area"]
|
|
script = ExtResource( 3 )
|
|
collision_area = NodePath("..")
|
|
action = NodePath("../SetFastMusic")
|
|
|
|
[node name="SetFastMusic" type="Node" parent="Area"]
|
|
script = ExtResource( 1 )
|