-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalRotationPart.tscn
76 lines (65 loc) · 2.06 KB
/
GlobalRotationPart.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[gd_scene load_steps=7 format=2]
[ext_resource path="res://AnimationPlayer.gd" type="Script" id=1]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 1, 0.2, 0.2 )
[sub_resource type="SpatialMaterial" id=2]
albedo_color = Color( 0.47451, 1, 0.258824, 1 )
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.227451, 0.654902, 1, 1 )
[sub_resource type="Animation" id=5]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("Green:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
[sub_resource type="Animation" id=4]
resource_name = "rotate"
length = 8.0
tracks/0/type = "value"
tracks/0/path = NodePath(".:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 4, 8 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0, 180 ), Vector3( 0, 0, 360 ) ]
}
[node name="GlobalRotationPart" type="Spatial"]
[node name="Green" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = SubResource( 2 )
[node name="RemoteTransform" type="RemoteTransform" parent="Green"]
remote_path = NodePath("../../Blue")
update_position = false
update_scale = false
[node name="Blue" type="MeshInstance" parent="."]
transform = Transform( 0.996917, -0.0784591, 0, 0.0784591, 0.996917, 0, 0, 0, 1, 8.03366e-08, 0.459472, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/RESET = SubResource( 5 )
anims/rotate = SubResource( 4 )
script = ExtResource( 1 )