-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshotgun.tscn
66 lines (59 loc) · 2.2 KB
/
shotgun.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
[gd_scene load_steps=6 format=3 uid="uid://c8470h063t1aw"]
[ext_resource type="ArrayMesh" uid="uid://cc7mgylaegfc7" path="res://models/shotgun.obj" id="1_xciy7"]
[ext_resource type="Script" path="res://Shotgun.gd" id="2_lfb0t"]
[sub_resource type="Animation" id="Animation_j3qty"]
length = 0.001
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),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0.75, -0.375, -0.75)]
}
[sub_resource type="Animation" id="Animation_lh8ge"]
resource_name = "shotgun_blast"
length = 0.4
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, 0.1, 0.3),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0.75, -0.375, -0.382148), Vector3(0.75, -0.449403, -0.645728), Vector3(0.75, -0.375, -0.382148)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.3),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(-0.169372, 3.12275, 0.0031761), Vector3(-1.22173, 3.1189, 0.0122173), Vector3(-0.169372, 3.12275, 0.0031761)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ltwmy"]
_data = {
"RESET": SubResource("Animation_j3qty"),
"shotgun_blast": SubResource("Animation_lh8ge")
}
[node name="Shotgun" type="MeshInstance3D"]
transform = Transform3D(-19.9965, -8.81496e-06, 0.371437, 0.0626128, 19.7137, 3.37127, -0.366121, 3.37185, -19.7103, 0.75, -0.375, -0.75)
mesh = ExtResource("1_xciy7")
script = ExtResource("2_lfb0t")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ltwmy")
}
[node name="RayCast3D" type="RayCast3D" parent="."]
transform = Transform3D(1.37781, -0.134433, -0.0218637, 0.0255888, -0.197267, 1.14557, -0.0262898, -7.23743, -0.0308176, 0.000887204, 0.00842688, 0.0477631)