-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
swiper.tscn
75 lines (61 loc) · 2.4 KB
/
swiper.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
[gd_scene load_steps=9 format=3 uid="uid://cykr4fd0joeh2"]
[ext_resource type="PackedScene" uid="uid://fqeq4lg8pg22" path="res://assets/objects/swiperLong_teamYellow.gltf.glb" id="1_rg883"]
[ext_resource type="Script" path="res://swiper.gd" id="1_xqgof"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_le47u"]
bounce = 2.0
[sub_resource type="BoxShape3D" id="BoxShape3D_kb00w"]
size = Vector3(0.77832, 4.6084, 1.49036)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_si3dm"]
height = 1.62015
radius = 0.272988
[sub_resource type="Animation" id="Animation_5fth1"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatableBody3D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_qhedo"]
resource_name = "rotate"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatableBody3D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(3.48787e-16, 6.28319, 3.48787e-16)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_doqma"]
_data = {
"RESET": SubResource("Animation_5fth1"),
"rotate": SubResource("Animation_qhedo")
}
[node name="Swiper" type="Node3D"]
script = ExtResource("1_xqgof")
[node name="AnimatableBody3D" type="AnimatableBody3D" parent="."]
physics_material_override = SubResource("PhysicsMaterial_le47u")
[node name="swiperLong_teamYellow_gltf" parent="AnimatableBody3D" instance=ExtResource("1_rg883")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="AnimatableBody3D"]
transform = Transform3D(1, 0, -1.5246e-23, -1.5246e-23, -4.37114e-08, -1, 0, 1, -4.37114e-08, -3.73798e-24, 0.738392, 2.68073)
shape = SubResource("BoxShape3D_kb00w")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.807538, 0)
shape = SubResource("CylinderShape3D_si3dm")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_doqma")
}
autoplay = "rotate"