123 lines
3.8 KiB
Plaintext
123 lines
3.8 KiB
Plaintext
|
|
[gd_scene load_steps=9 format=3 uid="uid://b1uhujdo8fo7p"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://dfbglm13nx7o0" path="res://scenes/individual_parts/cue/cue.gd" id="1_vgifi"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://bc7qr8dte5wti" path="res://scenes/individual_parts/cue/cue_tips/pool_cue_tip.tscn" id="2_sdj23"]
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_mtknm"]
|
||
|
|
length = 0.001
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath("inclination/pool_cue_tip:position")
|
||
|
|
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.05)]
|
||
|
|
}
|
||
|
|
tracks/1/type = "value"
|
||
|
|
tracks/1/imported = false
|
||
|
|
tracks/1/enabled = true
|
||
|
|
tracks/1/path = NodePath("inclination:rotation")
|
||
|
|
tracks/1/interp = 1
|
||
|
|
tracks/1/loop_wrap = true
|
||
|
|
tracks/1/keys = {
|
||
|
|
"times": PackedFloat32Array(0),
|
||
|
|
"transitions": PackedFloat32Array(1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector3(0.08726646, 0, 0)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_ly6l7"]
|
||
|
|
resource_name = "aim_inclination"
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath("inclination: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.08726646, 0, 0), Vector3(1.3089969, 0, 0)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_73jqm"]
|
||
|
|
resource_name = "aim_pulse"
|
||
|
|
length = 2.0
|
||
|
|
loop_mode = 2
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath("inclination/pool_cue_tip:position")
|
||
|
|
tracks/0/interp = 1
|
||
|
|
tracks/0/loop_wrap = true
|
||
|
|
tracks/0/keys = {
|
||
|
|
"times": PackedFloat32Array(0.2, 2),
|
||
|
|
"transitions": PackedFloat32Array(1, 1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector3(0, 0, -0.05), Vector3(0, 0, -0.215)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_wdalx"]
|
||
|
|
resource_name = "aim_release"
|
||
|
|
length = 2.0
|
||
|
|
step = 0.033
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath("inclination/pool_cue_tip:position")
|
||
|
|
tracks/0/interp = 1
|
||
|
|
tracks/0/loop_wrap = true
|
||
|
|
tracks/0/keys = {
|
||
|
|
"times": PackedFloat32Array(0, 2),
|
||
|
|
"transitions": PackedFloat32Array(1, 1),
|
||
|
|
"update": 0,
|
||
|
|
"values": [Vector3(0, 0, 0), Vector3(0, 0, -0.215)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="Animation" id="Animation_njncm"]
|
||
|
|
resource_name = "aim_rotate"
|
||
|
|
tracks/0/type = "value"
|
||
|
|
tracks/0/imported = false
|
||
|
|
tracks/0/enabled = true
|
||
|
|
tracks/0/path = NodePath(".: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(0, 6.2831855, 0)]
|
||
|
|
}
|
||
|
|
|
||
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wdalx"]
|
||
|
|
_data = {
|
||
|
|
&"RESET": SubResource("Animation_mtknm"),
|
||
|
|
&"aim_inclination": SubResource("Animation_ly6l7"),
|
||
|
|
&"aim_pulse": SubResource("Animation_73jqm"),
|
||
|
|
&"aim_release": SubResource("Animation_wdalx"),
|
||
|
|
&"aim_rotate": SubResource("Animation_njncm")
|
||
|
|
}
|
||
|
|
|
||
|
|
[node name="cue" type="Node3D"]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 0.9999999, 0, 0, 0, 0.9999999, 0, 0, 0)
|
||
|
|
script = ExtResource("1_vgifi")
|
||
|
|
|
||
|
|
[node name="inclination" type="Node3D" parent="."]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 0.9961947, -0.08715574, 0, 0.08715574, 0.9961947, 0, 0, 0)
|
||
|
|
|
||
|
|
[node name="pool_cue_tip" parent="inclination" instance=ExtResource("2_sdj23")]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, -0.99999994, 8.742277e-08, 0, -8.742277e-08, -0.99999994, 0, 0, -0.05)
|
||
|
|
|
||
|
|
[node name="animation_player" type="AnimationPlayer" parent="."]
|
||
|
|
libraries = {
|
||
|
|
&"": SubResource("AnimationLibrary_wdalx")
|
||
|
|
}
|
||
|
|
|
||
|
|
[node name="cue_cam_marker" type="Marker3D" parent="."]
|
||
|
|
transform = Transform3D(-1, -1.3684867e-07, 6.381358e-08, 0, 0.42261824, 0.9063078, -1.509958e-07, 0.9063078, -0.42261824, 0, 0.5, -0.2)
|