funnymemellama/Commentary.tscn
2023-10-01 21:44:21 -04:00

55 lines
1.7 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://wl1n3y8mcq0x"]
[ext_resource type="Script" path="res://Commentary.gd" id="1_omu2m"]
[sub_resource type="BoxMesh" id="BoxMesh_sbsxh"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8bjqg"]
[sub_resource type="Animation" id="Animation_njjyi"]
resource_name = "bob"
length = 2.0
loop_mode = 1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0.75, 0, 1, 1, 0, 1.25, 0, 2, 1, 0, 0.75, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_xohyp"]
_data = {
"bob": SubResource("Animation_njjyi")
}
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_lh675"]
animation = &"bob"
[sub_resource type="BoxShape3D" id="BoxShape3D_k4wkk"]
size = Vector3(1, 1.5, 1)
[node name="Commentary" type="StaticBody3D"]
script = ExtResource("1_omu2m")
[node name="Koob" type="CSGMesh3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.816788, 0)
mesh = SubResource("BoxMesh_sbsxh")
material = SubResource("StandardMaterial3D_8bjqg")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Koob"]
libraries = {
"": SubResource("AnimationLibrary_xohyp")
}
[node name="AnimationTree" type="AnimationTree" parent="Koob"]
tree_root = SubResource("AnimationNodeAnimation_lh675")
anim_player = NodePath("../AnimationPlayer")
active = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("BoxShape3D_k4wkk")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
attenuation_model = 2