-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsync_mesh.tscn
40 lines (33 loc) · 1016 Bytes
/
sync_mesh.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[gd_scene load_steps=5 format=3 uid="uid://usykowfpgf66"]
[ext_resource type="Script" path="res://sync_mesh.gd" id="1"]
[sub_resource type="BoxMesh" id="1"]
[sub_resource type="Animation" id="2"]
resource_name = "New Anim"
length = 5.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0, 0, 7.33118)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n5m35"]
_data = {
"New Anim": SubResource( "2" )
}
[node name="SyncMesh" type="Node3D"]
[node name="SyncMesh" type="MeshInstance3D" parent="."]
mesh = SubResource( "1" )
script = ExtResource( "1" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="SyncMesh"]
autoplay = "New Anim"
playback_process_mode = 2
libraries = {
"": SubResource( "AnimationLibrary_n5m35" )
}