bear fx v2

This commit is contained in:
2026-08-28 21:43:59 +03:00
parent 6b6a926715
commit 41f18cb5d6
16 changed files with 3483 additions and 294 deletions
+93
View File
@@ -0,0 +1,93 @@
[gd_resource type="Animation" format=3 uid="uid://bolvoh2i867gj"]
[resource]
resource_name = "Bear_fx_smash_hit"
length = 0.23333333
tracks/0/type = "position_3d"
tracks/0/imported = true
tracks/0/enabled = true
tracks/0/path = NodePath("Bear_fx_smash_hit")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, -0.51246816, 7.1560388, 0.033333335, 1, 0, -0.51246816, 7.1560388, 0.06666667, 1, 1.2735307, -1.4730668, 5.139501, 0.1, 1, 1.3610363, 0.27301335, 5.141279, 0.13333334, 1, 1.3735371, 2.1639488, 5.153728, 0.16666667, 1, 1.3573295, -0.04170864, 5.1945124, 0.2, 1, 1.3061407, -0.3338372, 5.1877995, 0.23333333, 1, 1.2735307, -0.37556988, 5.1810856)
tracks/1/type = "rotation_3d"
tracks/1/imported = true
tracks/1/enabled = true
tracks/1/path = NodePath("Bear_fx_smash_hit")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = PackedFloat32Array(0, 1, 0, 0, 0, 1, 0.033333335, 1, 0, 0, 0, 1, 0.06666667, 1, 0.045591418, -0.036703378, -0.0016762356, 0.9982843, 0.1, 1, 0.06741002, -0.02538766, 0.014408795, 0.99729824, 0.13333334, 1, 0.05603578, -0.017236687, 0.029419938, 0.99784636, 0.16666667, 1, -0.071329094, -0.014488678, 0.036211126, 0.9966901, 0.23333333, 1, -0.039237745, -0.015645763, 0.035726424, 0.99846846)
tracks/2/type = "scale_3d"
tracks/2/imported = true
tracks/2/enabled = true
tracks/2/path = NodePath("Bear_fx_smash_hit")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.033333335, 1, 0, 0, 0, 0.06666667, 1, 0.55657715, 0.55657715, 0.5565772, 0.23333333, 1, 0.55657715, 0.55657715, 0.55657715)
tracks/3/type = "position_3d"
tracks/3/imported = true
tracks/3/enabled = true
tracks/3/path = NodePath("Bear_fx_jump_smash")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = PackedFloat32Array(0, 1, 0, -0.51246816, 0)
tracks/4/type = "scale_3d"
tracks/4/imported = true
tracks/4/enabled = true
tracks/4/path = NodePath("Bear_fx_jump_smash")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = PackedFloat32Array(0, 1, 0, 0, 0)
tracks/5/type = "position_3d"
tracks/5/imported = true
tracks/5/enabled = true
tracks/5/path = NodePath("Bear_fx_claw_attack_R")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = PackedFloat32Array(0, 1, -3.188013, 1.0970955, 1.7545929)
tracks/6/type = "rotation_3d"
tracks/6/imported = true
tracks/6/enabled = true
tracks/6/path = NodePath("Bear_fx_claw_attack_R")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = PackedFloat32Array(0, 1, 0, 0, 0, 1)
tracks/7/type = "scale_3d"
tracks/7/imported = true
tracks/7/enabled = true
tracks/7/path = NodePath("Bear_fx_claw_attack_R")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = PackedFloat32Array(0, 1, 0, 0, 0)
tracks/8/type = "position_3d"
tracks/8/imported = true
tracks/8/enabled = true
tracks/8/path = NodePath("Bear_fx_claw_attack_L")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/keys = PackedFloat32Array(0, 1, -3.188013, 1.0970955, 1.7545929)
tracks/9/type = "rotation_3d"
tracks/9/imported = true
tracks/9/enabled = true
tracks/9/path = NodePath("Bear_fx_claw_attack_L")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/keys = PackedFloat32Array(0, 1, 0, 0, 0, 1)
tracks/10/type = "scale_3d"
tracks/10/imported = true
tracks/10/enabled = true
tracks/10/path = NodePath("Bear_fx_claw_attack_L")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = PackedFloat32Array(0, 1, 0, 0, 0)
tracks/11/type = "method"
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/path = NodePath("..")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/keys = {
"times": PackedFloat32Array(),
"transitions": PackedFloat32Array(),
"values": []
}
+5 -8
View File
@@ -1774,19 +1774,16 @@ tracks/252/path = NodePath("test_cube")
tracks/252/interp = 1 tracks/252/interp = 1
tracks/252/loop_wrap = true tracks/252/loop_wrap = true
tracks/252/keys = { tracks/252/keys = {
"times": PackedFloat32Array(0.033333335, 0.8, 1, 1.2666667), "times": PackedFloat32Array(0.73333335, 1.0333333, 1.3),
"transitions": PackedFloat32Array(1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1),
"values": [{ "values": [{
"args": [], "args": [],
"method": &"bear_fx_claw_attack_R"
}, {
"args": [],
"method": &"mesh_on"
}, {
"args": [],
"method": &"bear_fx_claw_attack_L" "method": &"bear_fx_claw_attack_L"
}, { }, {
"args": [], "args": [],
"method": &"bear_fx_claw_attack_R"
}, {
"args": [],
"method": &"mesh_off" "method": &"mesh_off"
}] }]
} }
Binary file not shown.
File diff suppressed because it is too large Load Diff
+28 -259
View File
@@ -4,6 +4,7 @@
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"] [ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
[ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"] [ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"]
[ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"] [ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"]
[ext_resource type="Material" uid="uid://blpkmyikjnhbo" path="res://Materials/M_bear_claw_fx.tres" id="5_bfebr"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0 radius = 1.0
@@ -13,6 +14,12 @@ height = 2.4
radius = 1.3 radius = 1.3
height = 2.7 height = 2.7
[sub_resource type="BoxShape3D" id="BoxShape3D_bfebr"]
size = Vector3(6.2019043, 8.561401, 7.0739746)
[sub_resource type="BoxShape3D" id="BoxShape3D_rog1v"]
size = Vector3(14.399288, 51.902206, 5.741211)
[node name="Bear" type="CharacterBody3D" unique_id=1573237287] [node name="Bear" type="CharacterBody3D" unique_id=1573237287]
script = ExtResource("1_beargd") script = ExtResource("1_beargd")
@@ -34,271 +41,33 @@ script = ExtResource("3_rog1v")
[node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")] [node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")]
[node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=1619658131] [node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=754472676]
visible = false visible = false
[node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=941189652] [node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=1454144134]
visible = false visible = false
[node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=676921748] [node name="RigidBody3D" type="AnimatableBody3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit" index="0" unique_id=1764208051]
visible = false transform = Transform3D(1.0000001, -1.21071935e-08, -1.8626451e-08, -9.313226e-10, 0.99999994, 7.450581e-09, 3.7252903e-09, -1.4901161e-08, 0.99999994, 0, 0, 0)
disable_mode = 1
collision_layer = 8
collision_mask = 2
[node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=796852843] [node name="CollisionShape3D2" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1779197150]
visible = false transform = Transform3D(0.99993557, -0.00749125, -0.010078691, 0.0077760145, 0.999569, 0.028562747, 0.009858355, -0.028639637, 0.9995405, -1.5136471, 0.9093375, 35.591957)
shape = SubResource("BoxShape3D_bfebr")
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1017999212) index="0" unique_id=1624609914] [node name="CollisionShape3D" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1276552823]
bones/1/position = Vector3(0.29452303, 1.3078226, 0.6509855) transform = Transform3D(0.9935104, -0.040698394, -0.10621016, -0.108634494, -0.06290151, -0.9920882, 0.03369555, 0.99719334, -0.06691426, -1.6357545, -0.5093044, 12.68803)
bones/1/rotation = Quaternion(0.58456904, 0.5627906, -0.47539848, 0.33991495) shape = SubResource("BoxShape3D_rog1v")
bones/2/rotation = Quaternion(0.27692834, 0.03150125, 0.16047956, 0.9468711)
bones/2/scale = Vector3(1.098169, 0.984441, 0.97453076) [node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=900948461]
bones/3/rotation = Quaternion(0.228145, 0.13899639, 0.085612014, 0.95984405) visible = false
bones/4/rotation = Quaternion(0.14719921, 0.10705008, -0.051372793, 0.9819539) surface_material_override/0 = ExtResource("5_bfebr")
bones/5/rotation = Quaternion(0.22595328, -0.11524842, 0.08442845, 0.96360505)
bones/6/rotation = Quaternion(0.5873277, -0.014554776, 0.0746086, 0.80577165) [node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=1947239836]
bones/7/rotation = Quaternion(0.7631541, 0.5558588, -0.31655917, -0.091690786) visible = false
bones/8/rotation = Quaternion(0.7325638, -0.4057209, 0.5464924, -0.00932578) surface_material_override/0 = ExtResource("5_bfebr")
bones/9/rotation = Quaternion(0.16422027, -0.6298077, -0.07218935, 0.7557531)
bones/10/rotation = Quaternion(-0.15790902, -0.32078373, 0.06727735, 0.93147)
bones/11/rotation = Quaternion(0.62080413, -0.67949617, 0.2754161, 0.27754876)
bones/12/rotation = Quaternion(0.69709545, 0.5505618, -0.45026457, -0.09056281)
bones/13/rotation = Quaternion(0.4164809, -0.08437692, 0.09620095, 0.9000942)
bones/14/rotation = Quaternion(0.4328737, 0.02905222, -0.025176141, 0.9006345)
bones/15/rotation = Quaternion(0.8460845, 0.39696681, -0.3519228, 0.052046664)
bones/16/rotation = Quaternion(0.15447636, 0.31065503, -0.30152714, 0.8880946)
bones/17/rotation = Quaternion(-0.35143042, 0.038663726, 0.0012339154, 0.93541455)
bones/17/scale = Vector3(1.0388201, 1.0041224, 1.0186747)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(0.6744598, -0.4911433, 0.43594155, 0.33739778)
bones/21/rotation = Quaternion(0.6318171, 0.19979303, -0.063048474, 0.7462673)
bones/22/rotation = Quaternion(-0.41248277, 0.027627226, 0.15620257, 0.8970483)
bones/22/scale = Vector3(0.9971091, 1.0365207, 1.0278598)
bones/23/rotation = Quaternion(0.11024173, 0.97250235, 0.11465575, -0.17011787)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(1.9297538, -3.3775253, -1.0757543)
bones/25/rotation = Quaternion(0.25208583, 0.8638122, 0.3279498, -0.2876288)
bones/25/scale = Vector3(1.0000001, 15.649877, 1.0000001)
bones/26/position = Vector3(1.0507188, -4.088568, -0.758288)
bones/26/rotation = Quaternion(-0.06856043, 0.9059302, 0.40374216, 0.10762056)
bones/26/scale = Vector3(0.99999994, 12.617217, 0.99999994)
bones/27/position = Vector3(-0.5278428, 1.3256588, -0.22292972)
bones/27/rotation = Quaternion(0.92856574, 0.2605395, -0.2605394, -0.044767413)
bones/27/scale = Vector3(1, 32.18452, 1)
bones/28/position = Vector3(0.5221239, 0.12703514, 2.0237722)
bones/28/rotation = Quaternion(0.92113245, 0.12519284, -0.12519291, -0.3466535)
bones/28/scale = Vector3(1.0000001, 28.494356, 1)
bones/30/position = Vector3(0.5133149, -0.7379626, -2.1925354)
bones/30/rotation = Quaternion(-0.27762687, 0.5369829, 0.24391747, 0.75833833)
bones/30/scale = Vector3(0.7959186, 1.1475399, 1.1413635)
bones/31/position = Vector3(0.16569123, -1.2552787, 0.7913494)
bones/31/rotation = Quaternion(-0.023993485, 0.006994763, 0.22973175, 0.97293305)
bones/31/scale = Vector3(1.0000001, 1, 1.0000001)
bones/32/position = Vector3(0.23077312, -2.9273863, -1.0081279)
bones/32/rotation = Quaternion(0.17452244, -0.29623014, -0.010936075, 0.93897295)
bones/32/scale = Vector3(0.9999999, 0.9999999, 0.99999994)
bones/33/position = Vector3(0.08284555, -1.3592216, 0.51213086)
bones/33/rotation = Quaternion(-0.012111956, 0.0035739588, 0.11573503, 0.9931998)
bones/33/scale = Vector3(1.0214858, 0.98601663, 1.0000104)
bones/35/position = Vector3(0.08284862, -1.1500344, -0.28383946)
bones/35/rotation = Quaternion(0.99320775, -0.11577886, 0.0008028109, -0.0115364455)
bones/35/scale = Vector3(1.0135934, 0.9925228, 0.9999865)
bones/39/position = Vector3(0.32117367, -0.035502702, 0.68051326)
bones/39/rotation = Quaternion(0.8907598, 0.4301933, -0.05041407, -0.1376196)
bones/39/scale = Vector3(1.1553679, 0.9376259, 0.9204497)
bones/40/rotation = Quaternion(0.25829265, -0.031939615, -0.21823974, 0.940551)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.35101277, 0.038179386, 0.00056301657, 0.9355919)
bones/41/scale = Vector3(1.007918, 1.0079173, 1.0079174)
bones/42/position = Vector3(-1.8627557e-07, 0.56145376, -1.2972075e-07)
bones/46/scale = Vector3(0.9943338, 0.9943328, 0.9943332)
bones/48/rotation = Quaternion(-1.328533e-07, 0.019356826, -6.104143e-08, 0.99981266)
bones/48/scale = Vector3(1.0011258, 1.001125, 1.0011253)
bones/50/scale = Vector3(0.9948343, 0.99483395, 0.9948339)
bones/51/rotation = Quaternion(-5.705566e-09, -0.18950434, 5.4590488e-09, 0.9818799)
bones/51/scale = Vector3(0.99483407, 0.99483395, 0.99483395)
bones/53/position = Vector3(-0.9326304, 0.4203896, 0.396717)
bones/53/rotation = Quaternion(0.63091606, -0.45309168, 0.48938346, 0.39643002)
bones/53/scale = Vector3(0.8921756, 1.1778011, 0.90970975)
bones/54/rotation = Quaternion(0.63586664, 0.14406475, -0.016773116, 0.75804865)
bones/54/scale = Vector3(0.9991687, 0.9991687, 0.9991691)
bones/55/rotation = Quaternion(-0.41318527, 0.026155733, 0.15709718, 0.8966127)
bones/55/scale = Vector3(0.997617, 0.99761665, 0.9976175)
bones/56/position = Vector3(2.7997118e-07, 0.5614526, 6.331704e-07)
bones/56/rotation = Quaternion(0.11024188, 0.97250235, 0.114655435, -0.17011791)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0038735, 1.0038736, 1.0038732)
bones/62/rotation = Quaternion(-5.8320808e-08, 0.013789475, 1.7574125e-08, 0.99990493)
bones/62/scale = Vector3(1.0007453, 1.000745, 1.0007455)
bones/64/scale = Vector3(1.003039, 1.003039, 1.0030391)
bones/65/rotation = Quaternion(1.4417528e-08, 0.039896224, 5.2671627e-08, 0.9992039)
bones/65/scale = Vector3(1.003039, 1.0030392, 1.0030391)
bones/67/rotation = Quaternion(0.70507634, 0.035579093, 0.024662793, 0.70780885)
bones/67/scale = Vector3(1.167293, 0.89458925, 0.93085676)
bones/68/rotation = Quaternion(0.9766347, 0.046410587, 0.009858311, -0.20960361)
bones/68/scale = Vector3(1.1722769, 0.941495, 0.87667495)
bones/69/position = Vector3(-0.4326777, 0.08309412, -0.35218418)
bones/69/rotation = Quaternion(-0.06586644, -0.15908034, -0.31625128, 0.9329203)
bones/69/scale = Vector3(1.0049936, 1.0049939, 1.0049937)
bones/70/rotation = Quaternion(0.25829268, -0.03193964, -0.21823977, 0.94055104)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9945497, 0.9945495, 0.994549)
bones/72/rotation = Quaternion(0.3174573, 0.029278778, 0.024509873, 0.9475035)
bones/72/scale = Vector3(1.0135942, 1.0135944, 1.0135944)
bones/75/rotation = Quaternion(-0.013393511, 0.443657, 0.60814756, 0.65813804)
bones/76/position = Vector3(-0.05442734, 0.43559238, -0.13005497)
bones/76/rotation = Quaternion(-0.26878712, 0.0070589553, -0.019940766, 0.9629674)
bones/77/rotation = Quaternion(0.630323, 9.2169365e-08, 7.869188e-08, 0.776333)
bones/78/position = Vector3(0.32117364, -0.03550273, 0.6805132)
bones/78/rotation = Quaternion(0.8338772, 0.37673575, -0.38708484, 0.11350923)
bones/78/scale = Vector3(0.9653768, 0.93278193, 1.1082551)
bones/80/rotation = Quaternion(0.70507634, 0.035579093, 0.024662793, 0.70780885)
bones/80/scale = Vector3(1.167293, 0.89458925, 0.93085676)
bones/81/rotation = Quaternion(0.6324967, 0.5491964, -0.4665262, -0.2840504)
bones/81/scale = Vector3(0.92211926, 0.8892315, 1.1781803)
bones/82/position = Vector3(0.21431541, -0.012663077, 0.107666075)
bones/82/rotation = Quaternion(-0.49024585, 0.52773285, 0.6558943, -0.2257427)
bones/82/scale = Vector3(0.9970258, 0.99702567, 0.99702555)
bones/83/rotation = Quaternion(0.6358667, 0.14406478, -0.016773101, 0.7580486)
bones/83/scale = Vector3(0.99918383, 0.9991839, 0.9991843)
bones/84/scale = Vector3(1.003628, 1.0036277, 1.0036279)
bones/85/rotation = Quaternion(0.24462408, -0.07875067, 0.13842654, 0.95644945)
bones/85/scale = Vector3(0.9940064, 0.9940062, 0.994007)
bones/87/rotation = Quaternion(-0.5230753, 0.20132942, 0.026226493, 0.8277505)
bones/88/rotation = Quaternion(0.44465542, 0.20185336, 0.27669305, 0.82763386)
bones/89/position = Vector3(0.039037436, 0.49457756, -0.1244725)
bones/89/rotation = Quaternion(-0.29321295, -0.0054437458, 0.014960684, 0.9559146)
bones/90/rotation = Quaternion(0.67242414, -8.944717e-08, -8.8490964e-08, 0.74016607)
bones/91/position = Vector3(-0.9326306, 0.4203896, 0.39671698)
bones/91/rotation = Quaternion(0.6633469, -0.48637933, 0.4393461, 0.3610833)
bones/91/scale = Vector3(0.8893214, 1.1813804, 0.91789454)
bones/96/position = Vector3(0.11538655, -2.1952755, -0.38760775)
bones/96/rotation = Quaternion(0.08892199, -0.15104504, -0.006011629, 0.98450106)
bones/96/scale = Vector3(1.03297, 0.99891275, 0.98077327)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.10177598, -0.54259026, -0.28872275)
bones/98/rotation = Quaternion(-0.14059989, -0.08490828, -0.056509186, 0.98479897)
bones/98/scale = Vector3(1.003432, 0.98981136, 1.0083009)
bones/101/position = Vector3(0.11538478, 1.8218286, 0.5016629)
bones/101/rotation = Quaternion(0.9884939, -0.0060659973, -0.1506101, -0.012635726)
bones/101/scale = Vector3(1.0133578, 0.99610555, 0.9991261)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(-1.1379022e-07, 0.60688025, 1.0375176e-07)
bones/103/rotation = Quaternion(0.2069584, -0.11468856, 0.11430119, 0.96485746)
bones/103/scale = Vector3(0.9188914, 1.0559518, 1.0147138)
bones/104/rotation = Quaternion(0.58031625, 0.025439063, 0.072209865, 0.8107847)
bones/104/scale = Vector3(1.0131512, 1.0014412, 1.014581)
bones/105/rotation = Quaternion(0.91469926, 0.03962022, 0.14587119, 0.37480277)
bones/105/scale = Vector3(0.9117838, 1.0032259, 1.0665197)
bones/106/position = Vector3(3.1182914e-08, 6.72772e-08, 4.747271e-08)
bones/106/rotation = Quaternion(0.83060586, 0.020961756, 0.013529816, -0.5563016)
bones/107/rotation = Quaternion(0.7719907, 0.0804304, 0.15109912, 0.6121523)
bones/107/scale = Vector3(1.0067688, 0.99633926, 1.0111487)
bones/108/position = Vector3(3.7562938e-08, -6.6351795e-08, 1.0931412e-07)
bones/108/rotation = Quaternion(0.25877726, 0.07974546, 0.006371629, -0.9626185)
bones/110/rotation = Quaternion(0.0041432325, 0.0021148638, 0.025544027, 0.9996629)
bones/110/scale = Vector3(1.0055156, 1, 1.0003229)
bones/113/position = Vector3(0.08179821, 0.64012206, 0.7106584)
bones/113/rotation = Quaternion(0.7389549, 0.5943878, -0.3161517, -0.026399758)
bones/114/position = Vector3(0.089198634, 0.6306004, -0.3519038)
bones/114/rotation = Quaternion(0.8984339, -0.30639267, -0.045558594, -0.31123072)
bones/114/scale = Vector3(0.9236992, 0.88604856, 1.1632947)
bones/115/rotation = Quaternion(0.08364276, -0.022806935, -0.15869278, 0.9835143)
bones/115/scale = Vector3(1.0000001, 0.9999998, 1.0000005)
bones/116/rotation = Quaternion(-0.15790896, -0.32078397, 0.06727721, 0.9314699)
bones/116/scale = Vector3(0.99999946, 0.9999999, 0.9999999)
bones/119/scale = Vector3(0.99999946, 1.0000001, 0.99999976)
bones/121/rotation = Quaternion(-2.690774e-07, -0.16383852, -7.231642e-09, 0.9864872)
bones/121/scale = Vector3(0.9999996, 1.0000002, 0.99999994)
bones/123/scale = Vector3(0.99999964, 1.0000001, 0.9999999)
bones/124/rotation = Quaternion(-5.671326e-08, 0.32134533, -1.2180261e-07, 0.9469621)
bones/124/scale = Vector3(0.99999964, 1, 0.9999997)
bones/126/rotation = Quaternion(-0.48472396, -0.20290382, 0.6323915, 0.5691694)
bones/126/scale = Vector3(1.0759302, 0.9386839, 0.9767378)
bones/127/rotation = Quaternion(-0.25102168, 0.11080731, 0.6578488, 0.7013878)
bones/127/scale = Vector3(1.101064, 0.88017744, 1.0026063)
bones/128/position = Vector3(-0.0019566938, 0.0045762006, -0.03527754)
bones/128/rotation = Quaternion(-0.36421314, 0.76084864, -0.18732797, 0.5033552)
bones/129/rotation = Quaternion(0.083642714, -0.022806922, -0.15869279, 0.98351425)
bones/131/rotation = Quaternion(-0.5758325, -0.23683304, 0.184591, 0.7604297)
bones/132/rotation = Quaternion(-0.15021622, 0.97574586, 0.088255435, -0.13253772)
bones/133/rotation = Quaternion(-0.0127753485, 0.011854912, 0.00015154087, 0.9998482)
bones/133/scale = Vector3(1.0423024, 1.0423021, 1.0423023)
bones/134/rotation = Quaternion(0.021517782, -5.0843514e-08, -1.4452331e-07, 0.9997685)
bones/134/scale = Vector3(0.98826224, 0.98826224, 0.98826194)
bones/135/position = Vector3(0.08919874, 0.63060045, -0.35190406)
bones/135/rotation = Quaternion(0.73947847, -0.42686057, 0.5192169, -0.0370893)
bones/135/scale = Vector3(1.1277485, 0.8860486, 0.96704423)
bones/137/position = Vector3(-0.09762831, 0.6401222, 0.71065843)
bones/137/rotation = Quaternion(0.65005666, -0.6316674, 0.33783105, 0.25356042)
bones/138/position = Vector3(-0.084939286, 0.66408145, -0.28660402)
bones/138/rotation = Quaternion(0.63463706, 0.52262914, -0.5690148, 0.017796522)
bones/138/scale = Vector3(0.9399434, 1.0213348, 1.0326279)
bones/139/rotation = Quaternion(0.4252791, 0.029630724, 0.042993553, 0.9035548)
bones/139/scale = Vector3(1, 1.0000004, 0.99999976)
bones/140/rotation = Quaternion(0.43287387, 0.029052455, -0.025176067, 0.90063447)
bones/140/scale = Vector3(0.9999998, 0.9999999, 0.99999976)
bones/143/scale = Vector3(0.9999998, 0.99999964, 1.0000001)
bones/145/rotation = Quaternion(-1.0238846e-07, 0.0152837355, -3.6972907e-08, 0.9998832)
bones/145/scale = Vector3(0.9999994, 0.9999994, 1)
bones/147/scale = Vector3(0.9999999, 0.9999997, 1.0000001)
bones/148/rotation = Quaternion(-2.191738e-08, 0.08178194, -3.735605e-09, 0.99665034)
bones/148/scale = Vector3(0.9999996, 0.9999998, 1)
bones/150/rotation = Quaternion(-0.5447016, 0.13325611, -0.64274794, 0.52193695)
bones/150/scale = Vector3(0.9857363, 1.0471811, 0.9616213)
bones/151/rotation = Quaternion(-0.23392485, -0.12792803, -0.6581558, 0.70409137)
bones/151/scale = Vector3(1.0064502, 0.87476474, 1.1018457)
bones/152/position = Vector3(0.0058973124, -0.0039253905, 0.035607904)
bones/152/rotation = Quaternion(0.030878156, 0.9232755, -0.34796685, 0.15977526)
bones/153/rotation = Quaternion(0.4252791, 0.029630736, 0.04299353, 0.9035548)
bones/155/rotation = Quaternion(-0.030096859, 0.013335, -0.005849787, 0.9994409)
bones/155/scale = Vector3(1, 0.9999999, 0.99999994)
bones/156/rotation = Quaternion(0.18051462, 0.94711345, 0.21539122, 0.1549106)
bones/157/rotation = Quaternion(-0.012775186, -0.011854955, -0.00015133528, 0.9998482)
bones/157/scale = Vector3(1.0423026, 1.0423021, 1.0423033)
bones/158/rotation = Quaternion(0.021517722, -2.4961642e-07, -2.17647e-07, 0.9997685)
bones/158/scale = Vector3(0.9882622, 0.9882623, 0.9882615)
bones/159/position = Vector3(-0.08493936, 0.6640818, -0.28660426)
bones/159/rotation = Quaternion(0.69514453, 0.52611184, -0.4867972, -0.054854304)
bones/159/scale = Vector3(0.97332007, 1.0213345, 1.0012981)
bones/161/position = Vector3(0.08179821, 0.64012206, 0.7106584)
bones/161/rotation = Quaternion(0.7389549, 0.5943878, -0.3161517, -0.026399758)
bones/162/position = Vector3(-0.09762831, 0.6401222, 0.71065843)
bones/162/rotation = Quaternion(0.65005666, -0.6316674, 0.33783105, 0.25356042)
bones/165/position = Vector3(-1.5017577e-08, 0.26895812, -1.6243575e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(-0.8962637, 1.7211447, 0.0073571503)
bones/167/position = Vector3(1.5610763, -1.1365523, 1.7789156)
bones/167/rotation = Quaternion(-0.70118606, 0.38277423, -0.06597651, 0.5978873)
bones/167/scale = Vector3(0.93287474, 1.1367738, 1.0292329)
bones/168/position = Vector3(0.18381542, -0.96226245, 0.98940843)
bones/168/rotation = Quaternion(0.93758935, -0.01085553, -0.33955306, -0.074243836)
bones/168/scale = Vector3(1.1904874, 0.9057233, 0.93397874)
bones/170/position = Vector3(0.748137, 0.69556385, 3.7252903e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(-0.8848521, 2.521852, 0.7323715)
bones/172/position = Vector3(-0.15362257, -0.99738264, 3.125454)
bones/172/rotation = Quaternion(-0.7868888, 0.30406547, 0.19712389, 0.49949223)
bones/172/scale = Vector3(1.021687, 1.1438712, 0.93246025)
bones/173/position = Vector3(0.18381548, -0.9622617, 0.9894081)
bones/173/rotation = Quaternion(0.93549556, 0.0006613238, 0.33980837, -0.09683999)
bones/173/scale = Vector3(0.9407709, 0.8939278, 1.1939902)
bones/175/position = Vector3(0.1772452, 1.0395148, 4.902764)
bones/175/rotation = Quaternion(0.8912982, -0.0011921095, -0.015988216, 0.453134)
bones/183/position = Vector3(-0.37243792, -2.6877873, -3.531542)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.6414093, -0.7837491, 0.86104393)
bones/186/rotation = Quaternion(-0.6058653, 0.7250378, -0.085995585, 0.31599396)
bones/186/scale = Vector3(0.8947386, 1.0622735, 1.1413584)
bones/187/rotation = Quaternion(0.15424556, -0.0074483315, -0.046867292, 0.9868922)
bones/187/scale = Vector3(1.193122, 0.95259607, 0.8980191)
bones/189/position = Vector3(-0.1772452, 1.0395148, 4.9027643)
bones/189/rotation = Quaternion(0.8912982, 0.0011921106, 0.015988216, 0.453134)
bones/197/position = Vector3(0.90092003, -2.6552444, -2.363356)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(0.8441885, 0.51411605, 1.5127928)
bones/200/rotation = Quaternion(-0.6058653, 0.7250378, -0.085995585, 0.31599396)
bones/200/scale = Vector3(0.8947386, 1.0622735, 1.1413584)
bones/201/rotation = Quaternion(0.15424556, -0.007448336, -0.046867285, 0.9868922)
bones/201/scale = Vector3(1.193122, 0.952596, 0.89801896)
[editable path="bear_model"] [editable path="bear_model"]
[editable path="bear_model/test_cube/Bear_FX"] [editable path="bear_model/test_cube/Bear_FX"]
+319
View File
@@ -0,0 +1,319 @@
[gd_scene format=3 uid="uid://o8ocjfprxa7u"]
[ext_resource type="Script" uid="uid://cn7fhjkro7637" path="res://bear.gd" id="1_beargd"]
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
[ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"]
[ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0
height = 2.4
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
radius = 1.3
height = 2.7
[sub_resource type="BoxShape3D" id="BoxShape3D_bfebr"]
size = Vector3(6.2019043, 8.561401, 7.0739746)
[sub_resource type="BoxShape3D" id="BoxShape3D_rog1v"]
size = Vector3(14.399288, 51.902206, 5.741211)
[node name="Bear" type="CharacterBody3D" unique_id=1573237287]
script = ExtResource("1_beargd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=830443382]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
shape = SubResource("CapsuleShape3D_body")
[node name="HitArea" type="Area3D" parent="." unique_id=365327397]
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea" unique_id=2111867348]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_hit")
[node name="bear_model" parent="." unique_id=359217823 instance=ExtResource("2_bearglb")]
[node name="test_cube" type="Node3D" parent="bear_model" unique_id=646988893]
script = ExtResource("3_rog1v")
[node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")]
[node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=750478984]
visible = false
[node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=88064381]
visible = false
[node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=1378755061]
visible = false
[node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=1711579105]
transform = Transform3D(0.55488384, -0.039024748, -0.018949924, 0.041069064, 0.55086076, 0.06814586, 0.013977209, -0.06933683, 0.5520644, 1.327292, -0.21312934, 5.190573)
[node name="RigidBody3D" type="AnimatableBody3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit" index="0" unique_id=1764208051]
transform = Transform3D(1.0000001, -1.21071935e-08, -1.8626451e-08, -9.313226e-10, 0.99999994, 7.450581e-09, 3.7252903e-09, -1.4901161e-08, 0.99999994, 0, 0, 0)
collision_layer = 8
collision_mask = 2
[node name="CollisionShape3D2" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1779197150]
transform = Transform3D(0.99993557, -0.00749125, -0.010078691, 0.0077760145, 0.999569, 0.028562747, 0.009858355, -0.028639637, 0.9995405, -1.5136471, 0.9093375, 35.591957)
shape = SubResource("BoxShape3D_bfebr")
disabled = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1276552823]
transform = Transform3D(0.9935104, -0.040698394, -0.10621016, -0.108634494, -0.06290151, -0.9920882, 0.03369555, 0.99719334, -0.06691426, -1.6357545, -0.5093044, 12.68803)
shape = SubResource("BoxShape3D_rog1v")
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1017999212) index="0" unique_id=1624609914]
bones/1/position = Vector3(0.00851878, 0.24701798, 1.2888045)
bones/1/rotation = Quaternion(0.29791054, -0.060797628, -0.056875575, 0.9509564)
bones/2/rotation = Quaternion(0.084239505, -0.026013458, 0.009274505, 0.9960628)
bones/2/scale = Vector3(0.9999999, 1.0000008, 0.99999934)
bones/3/rotation = Quaternion(-0.14812404, -0.039577905, 0.049865585, 0.98691756)
bones/4/rotation = Quaternion(-0.40577498, -0.03082885, 0.05040324, 0.9120612)
bones/5/rotation = Quaternion(0.27801633, 0.0014148077, 0.015671793, 0.96044755)
bones/6/rotation = Quaternion(0.50370073, 0.13519946, -0.093789615, 0.8480627)
bones/7/rotation = Quaternion(0.75079185, 0.54212743, -0.37154716, 0.06604591)
bones/8/rotation = Quaternion(0.22344273, -0.32689556, 0.65874565, -0.63973963)
bones/9/rotation = Quaternion(0.026405705, -0.27415153, -0.3226086, 0.9055757)
bones/10/rotation = Quaternion(0.030285481, -0.31167626, -0.037417818, 0.94896823)
bones/11/rotation = Quaternion(0.751943, -0.5788067, 0.30500817, 0.080837056)
bones/12/rotation = Quaternion(0.28422552, 0.2936944, -0.68526876, -0.6027987)
bones/13/rotation = Quaternion(0.020711409, 0.24585825, 0.3386082, 0.9080029)
bones/14/rotation = Quaternion(0.098969, 0.19860524, -0.007872087, 0.97503805)
bones/15/rotation = Quaternion(0.6979166, 0.16086513, -0.15598965, 0.680222)
bones/16/rotation = Quaternion(0.89734674, 0.09874082, -0.25790086, 0.34424722)
bones/17/rotation = Quaternion(-0.13802421, 0.26758972, 0.081159085, 0.9501359)
bones/17/scale = Vector3(0.9999998, 1.0000002, 1)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(-0.49266306, -0.27058616, 0.262383, 0.7843606)
bones/21/rotation = Quaternion(0.0016915401, 0.70246154, -0.001669446, 0.7117178)
bones/22/rotation = Quaternion(-0.5496364, -0.3220462, -0.22350304, 0.73772115)
bones/22/scale = Vector3(0.9999997, 0.9999998, 0.9999999)
bones/23/rotation = Quaternion(-0.00015351747, 0.902104, -0.4315187, 0.00032039074)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(1.0191536, 3.5353048, 3.5049686)
bones/25/rotation = Quaternion(-0.087474234, 0.16733547, 0.98056763, 0.053239316)
bones/25/scale = Vector3(1, 17.518272, 1.0000001)
bones/26/position = Vector3(-1.0831825, 3.749937, 2.5891113)
bones/26/rotation = Quaternion(0.016340872, 0.19671263, 0.9801456, 0.01875816)
bones/26/scale = Vector3(1.0000001, 18.765795, 1)
bones/27/position = Vector3(1.0193456, -0.43209565, 2.5343885)
bones/27/rotation = Quaternion(0.61800283, -0.11976056, 0.11976072, 0.7677157)
bones/27/scale = Vector3(0.99999994, 16.85072, 1)
bones/28/position = Vector3(-0.8340287, 1.0348616, 1.282705)
bones/28/rotation = Quaternion(0.82860446, -0.029359974, 0.02935981, 0.5582926)
bones/28/scale = Vector3(0.99999994, 32.068844, 1)
bones/30/position = Vector3(0.032563455, -0.8335703, -0.9236449)
bones/30/rotation = Quaternion(-0.8670657, 0.042821795, -0.07139772, 0.4911883)
bones/31/position = Vector3(2.3450447e-08, -1.4631646, 0.23291242)
bones/31/rotation = Quaternion(-6.0737464e-09, 4.8699293e-09, -1.4618977e-09, 1)
bones/31/scale = Vector3(0.99999994, 0.9999999, 0.99999994)
bones/32/position = Vector3(-0.04394375, -1.087056, 0.096768975)
bones/32/rotation = Quaternion(-0.8343034, 0.119118, -0.061490715, 0.5347595)
bones/32/scale = Vector3(0.9999999, 0.99999976, 0.99999964)
bones/33/position = Vector3(3.977649e-08, -1.4631644, 0.23291251)
bones/33/rotation = Quaternion(-8.833673e-08, -2.419923e-08, -6.733043e-09, 1)
bones/33/scale = Vector3(0.9999998, 0.9999998, 0.99999994)
bones/35/position = Vector3(1.0184407e-08, -1.0594703, -5.9146995e-08)
bones/35/rotation = Quaternion(0.99971783, 1.3593646e-07, 5.3695976e-06, -0.023754615)
bones/35/scale = Vector3(0.99999976, 0.9999998, 1.0000012)
bones/39/position = Vector3(0.8199172, 0.25251278, 0.47214246)
bones/39/rotation = Quaternion(0.71402234, 0.34199142, 0.043267474, 0.60937834)
bones/39/scale = Vector3(1.0000004, 0.9999996, 0.9999991)
bones/40/rotation = Quaternion(0.9336719, 1.2799235e-07, 3.7337827e-08, 0.3581296)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.13802455, 0.26758966, 0.08115916, 0.9501359)
bones/41/scale = Vector3(0.99999946, 0.99999976, 0.9999996)
bones/42/position = Vector3(-1.9729964e-07, 0.56145483, 7.283501e-08)
bones/46/scale = Vector3(0.99999946, 0.99999964, 0.9999999)
bones/48/rotation = Quaternion(-2.9741386e-07, 0.13593404, 1.01778824e-07, 0.9907179)
bones/48/scale = Vector3(0.9999993, 0.9999996, 0.9999999)
bones/50/scale = Vector3(0.99999994, 0.99999994, 0.9999998)
bones/51/rotation = Quaternion(-2.5567479e-08, -0.20499781, -2.3086146e-08, 0.9787625)
bones/51/scale = Vector3(0.9999999, 0.99999964, 0.99999964)
bones/53/position = Vector3(-0.8199191, 0.25251284, 0.47213903)
bones/53/rotation = Quaternion(-0.5351706, 0.35860845, -0.15898216, 0.74814254)
bones/53/scale = Vector3(1, 0.99999875, 0.99999946)
bones/54/rotation = Quaternion(0.0023762286, -4.7362324e-08, -6.475868e-08, 0.9999972)
bones/55/rotation = Quaternion(-0.54963607, -0.322046, -0.22350314, 0.73772144)
bones/55/scale = Vector3(1.0000002, 1, 1.0000002)
bones/56/position = Vector3(0.0013532753, 0.57868266, 0.05537574)
bones/56/rotation = Quaternion(-0.00015348212, 0.90210384, -0.43151882, 0.0003204293)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0000004, 1.0000004, 1.0000002)
bones/62/rotation = Quaternion(-1.7092354e-08, -0.18223058, 2.6700846e-08, 0.98325586)
bones/62/scale = Vector3(1.0000002, 1.0000002, 1.0000001)
bones/64/scale = Vector3(1.0000004, 1.0000004, 1)
bones/65/rotation = Quaternion(-1.0345744e-08, -0.3796584, -4.0675246e-08, 0.9251268)
bones/65/scale = Vector3(1.0000002, 1.0000004, 1.0000004)
bones/67/rotation = Quaternion(0.7179022, -7.671307e-07, 7.885642e-07, 0.696144)
bones/67/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/68/rotation = Quaternion(0.9776482, 2.0029378e-07, 1.0460874e-06, -0.2102479)
bones/68/scale = Vector3(1.0000004, 1.0000004, 0.9999982)
bones/69/position = Vector3(-2.4645832e-08, -6.861796e-09, 7.455772e-08)
bones/69/rotation = Quaternion(-0.8315212, 2.5276703e-08, -9.3330055e-09, 0.5554931)
bones/69/scale = Vector3(1, 1.0000001, 1.0000002)
bones/70/rotation = Quaternion(0.67750055, 8.820757e-08, 7.575834e-08, 0.7355223)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9999999, 1, 0.9999999)
bones/72/rotation = Quaternion(-2.1641608e-07, -4.6565607e-10, -4.6576065e-10, 1)
bones/75/rotation = Quaternion(-0.34314692, -0.20321459, -0.2785586, 0.8737043)
bones/76/position = Vector3(1.01587794e-07, -1.5306958e-07, -4.3554866e-07)
bones/76/rotation = Quaternion(-0.51764834, -7.167482e-08, 1.7163823e-07, 0.85559356)
bones/77/rotation = Quaternion(0.93367195, 1.2110854e-07, 3.8556042e-08, 0.35812962)
bones/78/position = Vector3(0.8199172, 0.25251257, 0.47214243)
bones/78/rotation = Quaternion(0.6979164, 0.16086517, -0.15598962, 0.6802223)
bones/78/scale = Vector3(1.0000004, 0.9999997, 0.99999905)
bones/80/rotation = Quaternion(0.7179022, -7.6713064e-07, 7.885641e-07, 0.696144)
bones/80/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/81/rotation = Quaternion(0.97764814, 1.9846473e-07, 1.0426893e-06, -0.21024783)
bones/81/scale = Vector3(1.0000004, 1.0000002, 0.9999982)
bones/82/position = Vector3(6.103571e-08, 8.8816435e-08, -3.6955274e-09)
bones/82/rotation = Quaternion(-0.8315211, 2.3407136e-08, -1.2821512e-08, 0.5554932)
bones/82/scale = Vector3(0.99999994, 0.99999994, 1)
bones/83/rotation = Quaternion(0.6775009, -8.600083e-08, -8.977273e-08, 0.735522)
bones/83/scale = Vector3(1, 1.0000001, 1)
bones/84/scale = Vector3(0.99999994, 1.0000001, 0.9999999)
bones/85/rotation = Quaternion(2.6833732e-07, -9.313788e-10, -2.5612494e-09, 1)
bones/85/scale = Vector3(1.0000001, 1, 1.0000001)
bones/87/rotation = Quaternion(-0.5230753, 0.20132942, 0.026226493, 0.8277505)
bones/88/rotation = Quaternion(0.61967987, 0.23118778, 0.3169036, 0.679795)
bones/89/position = Vector3(2.953037e-07, 4.9207458e-08, -4.3015167e-08)
bones/89/rotation = Quaternion(-0.001144886, -2.973514e-08, 2.817069e-08, 0.9999994)
bones/90/rotation = Quaternion(0.0023764072, -4.0769752e-08, -7.0690255e-08, 0.99999726)
bones/91/position = Vector3(-0.8199192, 0.2525128, 0.47213912)
bones/91/rotation = Quaternion(-0.49266297, -0.27058598, 0.2623832, 0.78436047)
bones/91/scale = Vector3(1.0000002, 0.999999, 0.99999964)
bones/96/position = Vector3(-0.021971898, -1.2751104, 0.16484088)
bones/96/rotation = Quaternion(-0.47603267, 0.067788206, -0.035077166, 0.8761091)
bones/96/scale = Vector3(0.9999999, 0.9999999, 0.99999976)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.01993539, 0.08757691, 0.045667563)
bones/98/rotation = Quaternion(0.1475291, 0.03397043, -0.019923227, 0.9882734)
bones/98/scale = Vector3(1, 1.0000011, 1.0000023)
bones/101/position = Vector3(-0.021972047, 0.8282039, 0.0959422)
bones/101/rotation = Quaternion(0.8371564, 0.04015539, 0.06490996, 0.5416119)
bones/101/scale = Vector3(1, 1.0000066, 0.99998474)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(0.17285576, 0.72785676, 1.0822707)
bones/103/rotation = Quaternion(0.27801546, 0.0014157619, 0.015671493, 0.9604477)
bones/103/scale = Vector3(1.0000002, 1.000013, 1.0000246)
bones/104/rotation = Quaternion(0.5037003, 0.13519715, -0.093790196, 0.84806323)
bones/104/scale = Vector3(1.0000721, 1.0000457, 0.99993384)
bones/105/rotation = Quaternion(0.97757924, -0.053521663, -0.054415643, -0.19624804)
bones/105/scale = Vector3(1.0000001, 1.0000083, 1.0000036)
bones/106/position = Vector3(0.023142539, -0.54231995, -0.9607401)
bones/106/rotation = Quaternion(0.99272084, -0.08158898, -0.03307842, -0.08218607)
bones/107/rotation = Quaternion(0.903578, -0.12777254, -0.05477002, -0.4052421)
bones/107/scale = Vector3(0.9999992, 0.9999624, 1.0000123)
bones/108/position = Vector3(-1.1340098e-08, 7.923448e-07, 9.0939814e-08)
bones/108/rotation = Quaternion(0.98967296, 0.0031370325, 0.10343237, -0.09919364)
bones/110/rotation = Quaternion(9.815354e-07, 7.072085e-10, -9.586452e-08, 1)
bones/110/scale = Vector3(0.99999994, 0.99999976, 1.0000001)
bones/113/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/113/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/114/position = Vector3(-0.031743176, 0.60466695, -0.39704067)
bones/114/rotation = Quaternion(0.4176498, -0.11118397, 0.55639553, -0.70966953)
bones/114/scale = Vector3(1.0000015, 1.0000038, 1.0000079)
bones/115/rotation = Quaternion(-0.07547326, 0.02173067, -0.31477332, 0.945912)
bones/115/scale = Vector3(0.9999974, 1.0000036, 0.99999976)
bones/116/rotation = Quaternion(0.03028559, -0.3116764, -0.037417784, 0.9489682)
bones/116/scale = Vector3(1.0000005, 0.9999972, 1.0000013)
bones/119/scale = Vector3(1.0000043, 0.9999975, 0.99999744)
bones/121/rotation = Quaternion(-4.820391e-08, -0.1579088, -2.0880496e-08, 0.98745376)
bones/121/scale = Vector3(1.0000037, 0.99999774, 0.9999977)
bones/123/scale = Vector3(1.000003, 0.9999977, 0.99999917)
bones/124/rotation = Quaternion(-3.1036683e-07, 0.17317644, 6.989145e-08, 0.9848908)
bones/124/scale = Vector3(1.0000037, 0.9999978, 0.99999875)
bones/126/rotation = Quaternion(-0.5163543, -0.16816929, 0.6340875, 0.550482)
bones/126/scale = Vector3(1.0000015, 1.000007, 1.000004)
bones/127/rotation = Quaternion(-0.24332331, 0.12663932, 0.6612194, 0.6982444)
bones/127/scale = Vector3(1.0000017, 1.0000014, 1.0000097)
bones/128/position = Vector3(-0.008928956, 0.128764, -0.06877987)
bones/128/rotation = Quaternion(0.025037244, 0.39930493, -0.88358396, 0.24332726)
bones/129/rotation = Quaternion(-0.07547334, 0.021730714, -0.31477335, 0.94591194)
bones/131/rotation = Quaternion(-0.41802245, -0.28161782, 0.08442414, 0.85954714)
bones/132/rotation = Quaternion(-0.5281791, -0.34319904, -0.62196887, -0.46518382)
bones/133/rotation = Quaternion(-0.012777329, 0.011854946, 0.00015161165, 0.9998482)
bones/133/scale = Vector3(1.0423008, 1.0423008, 1.0423006)
bones/134/rotation = Quaternion(0.02152103, -3.688601e-08, -1.5255387e-07, 0.99976844)
bones/134/scale = Vector3(0.9882629, 0.9882634, 0.98826265)
bones/135/position = Vector3(-0.0317431, 0.60466677, -0.39704087)
bones/135/rotation = Quaternion(0.22344373, -0.32689255, 0.658746, -0.6397405)
bones/135/scale = Vector3(1.0000048, 1.0000036, 1.0000046)
bones/137/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/137/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/138/position = Vector3(-0.19594865, 0.65740275, -0.22511396)
bones/138/rotation = Quaternion(0.36201134, 0.22157827, -0.6475769, -0.63284683)
bones/138/scale = Vector3(1.0000019, 1.0000045, 1.0000057)
bones/139/rotation = Quaternion(-0.018797327, 0.13857716, 0.33871746, 0.9304373)
bones/139/scale = Vector3(0.9999983, 1.0000024, 0.9999992)
bones/140/rotation = Quaternion(0.09896898, 0.1986053, -0.00787212, 0.975038)
bones/140/scale = Vector3(1.0000031, 0.9999977, 0.9999988)
bones/143/scale = Vector3(1.000005, 0.99999815, 0.9999967)
bones/145/rotation = Quaternion(-1.7910523e-07, 0.10005118, -9.714451e-08, 0.9949823)
bones/145/scale = Vector3(1.0000045, 0.99999803, 0.9999968)
bones/147/scale = Vector3(1.0000035, 0.99999845, 0.9999981)
bones/148/rotation = Quaternion(2.0844507e-07, 0.011625211, 4.5709146e-07, 0.9999325)
bones/148/scale = Vector3(1.000004, 0.9999991, 0.999998)
bones/150/rotation = Quaternion(-0.51635444, 0.16816957, -0.63408744, 0.55048186)
bones/150/scale = Vector3(1.000001, 1.0000067, 1.000004)
bones/151/rotation = Quaternion(-0.24332346, -0.12663896, -0.6612195, 0.6982443)
bones/151/scale = Vector3(1.0000011, 1.0000017, 1.0000095)
bones/152/position = Vector3(0.027921734, -0.124764316, 0.07102555)
bones/152/rotation = Quaternion(-0.12973516, 0.47151387, -0.86254627, -0.12983702)
bones/153/rotation = Quaternion(-0.018797398, 0.13857722, 0.33871746, 0.9304373)
bones/155/rotation = Quaternion(-0.36541468, 0.16190512, -0.07102372, 0.91390073)
bones/155/scale = Vector3(0.99999994, 1, 0.9999998)
bones/156/rotation = Quaternion(0.68045896, -0.19169958, -0.3896983, 0.59022206)
bones/157/rotation = Quaternion(-0.01277751, -0.011854968, -0.0001513001, 0.9998481)
bones/157/scale = Vector3(1.0423003, 1.0422994, 1.0423005)
bones/158/rotation = Quaternion(0.021521209, -2.5687226e-07, -2.570953e-07, 0.9997684)
bones/158/scale = Vector3(0.9882631, 0.98826426, 0.9882618)
bones/159/position = Vector3(-0.19594839, 0.65740275, -0.2251139)
bones/159/rotation = Quaternion(0.28422734, 0.29369113, -0.68527013, -0.60279787)
bones/159/scale = Vector3(1.0000027, 1.0000043, 1.0000049)
bones/161/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/161/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/162/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/162/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/165/position = Vector3(-1.5017577e-08, 0.26895812, -1.6243575e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(0.0034187725, -3.131728, 0.9674823)
bones/167/position = Vector3(0.209171, 5.0901713, -2.6670303)
bones/167/rotation = Quaternion(0.16656846, 0.015223213, 0.18356222, 0.9686734)
bones/167/scale = Vector3(0.9999988, 0.9999987, 1.0000023)
bones/168/position = Vector3(0.18381567, -0.9622623, 0.9894084)
bones/168/rotation = Quaternion(0.9362244, -6.2652596e-08, -0.34127164, -0.083770975)
bones/168/scale = Vector3(1.0000011, 1.0000015, 1.0000101)
bones/170/position = Vector3(0.748137, 0.69556385, 3.7252903e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(0.6322718, -2.6572587, 0.6064028)
bones/172/position = Vector3(-1.5122895, 4.4686184, -2.7014794)
bones/172/rotation = Quaternion(0.21553025, -0.03620148, 0.11066054, 0.9695311)
bones/172/scale = Vector3(0.99999887, 0.9999985, 1.0000024)
bones/173/position = Vector3(0.18381546, -0.96226203, 0.9894083)
bones/173/rotation = Quaternion(0.93622434, -2.9748788e-08, 0.34127158, -0.083771475)
bones/173/scale = Vector3(0.999999, 1.0000014, 0.99999464)
bones/175/position = Vector3(0.2542465, -2.2077389, 0.9589075)
bones/175/rotation = Quaternion(-0.008919476, -0.00021326332, -0.000697989, 0.99996)
bones/183/position = Vector3(-1.982537e-07, 5.9604563e-08, -1.517833e-08)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.57634556, 3.7607954, 0.15364014)
bones/186/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/186/scale = Vector3(0.9999997, 0.99999994, 1)
bones/187/rotation = Quaternion(0.15451065, -2.0305349e-09, -2.0850066e-09, 0.9879911)
bones/187/scale = Vector3(1.0000002, 0.99999994, 0.9999999)
bones/197/position = Vector3(-0.0011225368, -0.015787723, -0.051779967)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(-1.0407574, 3.6267605, -0.083099455)
bones/200/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/200/scale = Vector3(0.9999997, 0.99999994, 1)
bones/201/rotation = Quaternion(0.15451066, -1.9585848e-09, -2.5450761e-09, 0.9879911)
bones/201/scale = Vector3(1.0000002, 0.99999994, 0.99999994)
[editable path="bear_model"]
[editable path="bear_model/test_cube/Bear_FX"]
+319
View File
@@ -0,0 +1,319 @@
[gd_scene format=3 uid="uid://o8ocjfprxa7u"]
[ext_resource type="Script" uid="uid://cn7fhjkro7637" path="res://bear.gd" id="1_beargd"]
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
[ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"]
[ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0
height = 2.4
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
radius = 1.3
height = 2.7
[sub_resource type="BoxShape3D" id="BoxShape3D_bfebr"]
size = Vector3(6.2019043, 8.561401, 7.0739746)
[sub_resource type="BoxShape3D" id="BoxShape3D_rog1v"]
size = Vector3(14.399288, 51.902206, 5.741211)
[node name="Bear" type="CharacterBody3D" unique_id=1573237287]
script = ExtResource("1_beargd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=830443382]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
shape = SubResource("CapsuleShape3D_body")
[node name="HitArea" type="Area3D" parent="." unique_id=365327397]
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea" unique_id=2111867348]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_hit")
[node name="bear_model" parent="." unique_id=359217823 instance=ExtResource("2_bearglb")]
[node name="test_cube" type="Node3D" parent="bear_model" unique_id=646988893]
script = ExtResource("3_rog1v")
[node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")]
[node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=750478984]
visible = false
[node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=88064381]
visible = false
[node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=1378755061]
visible = false
[node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=1711579105]
transform = Transform3D(0.55488384, -0.039024748, -0.018949924, 0.041069064, 0.55086076, 0.06814586, 0.013977209, -0.06933683, 0.5520644, 1.327292, -0.21312934, 5.190573)
[node name="RigidBody3D" type="AnimatableBody3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit" index="0" unique_id=1764208051]
transform = Transform3D(1.0000001, -1.21071935e-08, -1.8626451e-08, -9.313226e-10, 0.99999994, 7.450581e-09, 3.7252903e-09, -1.4901161e-08, 0.99999994, 0, 0, 0)
collision_layer = 8
collision_mask = 2
[node name="CollisionShape3D2" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1779197150]
transform = Transform3D(0.99993557, -0.00749125, -0.010078691, 0.0077760145, 0.999569, 0.028562747, 0.009858355, -0.028639637, 0.9995405, -1.5136471, 0.9093375, 35.591957)
shape = SubResource("BoxShape3D_bfebr")
disabled = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1276552823]
transform = Transform3D(0.9935104, -0.040698394, -0.10621016, -0.108634494, -0.06290151, -0.9920882, 0.03369555, 0.99719334, -0.06691426, -1.6357545, -0.5093044, 12.68803)
shape = SubResource("BoxShape3D_rog1v")
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1017999212) index="0" unique_id=1624609914]
bones/1/position = Vector3(0.00851878, 0.24701798, 1.2888045)
bones/1/rotation = Quaternion(0.29791054, -0.060797628, -0.056875575, 0.9509564)
bones/2/rotation = Quaternion(0.084239505, -0.026013458, 0.009274505, 0.9960628)
bones/2/scale = Vector3(0.9999999, 1.0000008, 0.99999934)
bones/3/rotation = Quaternion(-0.14812404, -0.039577905, 0.049865585, 0.98691756)
bones/4/rotation = Quaternion(-0.40577498, -0.03082885, 0.05040324, 0.9120612)
bones/5/rotation = Quaternion(0.27801633, 0.0014148077, 0.015671793, 0.96044755)
bones/6/rotation = Quaternion(0.50370073, 0.13519946, -0.093789615, 0.8480627)
bones/7/rotation = Quaternion(0.75079185, 0.54212743, -0.37154716, 0.06604591)
bones/8/rotation = Quaternion(0.22344273, -0.32689556, 0.65874565, -0.63973963)
bones/9/rotation = Quaternion(0.026405705, -0.27415153, -0.3226086, 0.9055757)
bones/10/rotation = Quaternion(0.030285481, -0.31167626, -0.037417818, 0.94896823)
bones/11/rotation = Quaternion(0.751943, -0.5788067, 0.30500817, 0.080837056)
bones/12/rotation = Quaternion(0.28422552, 0.2936944, -0.68526876, -0.6027987)
bones/13/rotation = Quaternion(0.020711409, 0.24585825, 0.3386082, 0.9080029)
bones/14/rotation = Quaternion(0.098969, 0.19860524, -0.007872087, 0.97503805)
bones/15/rotation = Quaternion(0.6979166, 0.16086513, -0.15598965, 0.680222)
bones/16/rotation = Quaternion(0.89734674, 0.09874082, -0.25790086, 0.34424722)
bones/17/rotation = Quaternion(-0.13802421, 0.26758972, 0.081159085, 0.9501359)
bones/17/scale = Vector3(0.9999998, 1.0000002, 1)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(-0.49266306, -0.27058616, 0.262383, 0.7843606)
bones/21/rotation = Quaternion(0.0016915401, 0.70246154, -0.001669446, 0.7117178)
bones/22/rotation = Quaternion(-0.5496364, -0.3220462, -0.22350304, 0.73772115)
bones/22/scale = Vector3(0.9999997, 0.9999998, 0.9999999)
bones/23/rotation = Quaternion(-0.00015351747, 0.902104, -0.4315187, 0.00032039074)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(1.0191536, 3.5353048, 3.5049686)
bones/25/rotation = Quaternion(-0.087474234, 0.16733547, 0.98056763, 0.053239316)
bones/25/scale = Vector3(1, 17.518272, 1.0000001)
bones/26/position = Vector3(-1.0831825, 3.749937, 2.5891113)
bones/26/rotation = Quaternion(0.016340872, 0.19671263, 0.9801456, 0.01875816)
bones/26/scale = Vector3(1.0000001, 18.765795, 1)
bones/27/position = Vector3(1.0193456, -0.43209565, 2.5343885)
bones/27/rotation = Quaternion(0.61800283, -0.11976056, 0.11976072, 0.7677157)
bones/27/scale = Vector3(0.99999994, 16.85072, 1)
bones/28/position = Vector3(-0.8340287, 1.0348616, 1.282705)
bones/28/rotation = Quaternion(0.82860446, -0.029359974, 0.02935981, 0.5582926)
bones/28/scale = Vector3(0.99999994, 32.068844, 1)
bones/30/position = Vector3(0.032563455, -0.8335703, -0.9236449)
bones/30/rotation = Quaternion(-0.8670657, 0.042821795, -0.07139772, 0.4911883)
bones/31/position = Vector3(2.3450447e-08, -1.4631646, 0.23291242)
bones/31/rotation = Quaternion(-6.0737464e-09, 4.8699293e-09, -1.4618977e-09, 1)
bones/31/scale = Vector3(0.99999994, 0.9999999, 0.99999994)
bones/32/position = Vector3(-0.04394375, -1.087056, 0.096768975)
bones/32/rotation = Quaternion(-0.8343034, 0.119118, -0.061490715, 0.5347595)
bones/32/scale = Vector3(0.9999999, 0.99999976, 0.99999964)
bones/33/position = Vector3(3.977649e-08, -1.4631644, 0.23291251)
bones/33/rotation = Quaternion(-8.833673e-08, -2.419923e-08, -6.733043e-09, 1)
bones/33/scale = Vector3(0.9999998, 0.9999998, 0.99999994)
bones/35/position = Vector3(1.0184407e-08, -1.0594703, -5.9146995e-08)
bones/35/rotation = Quaternion(0.99971783, 1.3593646e-07, 5.3695976e-06, -0.023754615)
bones/35/scale = Vector3(0.99999976, 0.9999998, 1.0000012)
bones/39/position = Vector3(0.8199172, 0.25251278, 0.47214246)
bones/39/rotation = Quaternion(0.71402234, 0.34199142, 0.043267474, 0.60937834)
bones/39/scale = Vector3(1.0000004, 0.9999996, 0.9999991)
bones/40/rotation = Quaternion(0.9336719, 1.2799235e-07, 3.7337827e-08, 0.3581296)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.13802455, 0.26758966, 0.08115916, 0.9501359)
bones/41/scale = Vector3(0.99999946, 0.99999976, 0.9999996)
bones/42/position = Vector3(-1.9729964e-07, 0.56145483, 7.283501e-08)
bones/46/scale = Vector3(0.99999946, 0.99999964, 0.9999999)
bones/48/rotation = Quaternion(-2.9741386e-07, 0.13593404, 1.01778824e-07, 0.9907179)
bones/48/scale = Vector3(0.9999993, 0.9999996, 0.9999999)
bones/50/scale = Vector3(0.99999994, 0.99999994, 0.9999998)
bones/51/rotation = Quaternion(-2.5567479e-08, -0.20499781, -2.3086146e-08, 0.9787625)
bones/51/scale = Vector3(0.9999999, 0.99999964, 0.99999964)
bones/53/position = Vector3(-0.8199191, 0.25251284, 0.47213903)
bones/53/rotation = Quaternion(-0.5351706, 0.35860845, -0.15898216, 0.74814254)
bones/53/scale = Vector3(1, 0.99999875, 0.99999946)
bones/54/rotation = Quaternion(0.0023762286, -4.7362324e-08, -6.475868e-08, 0.9999972)
bones/55/rotation = Quaternion(-0.54963607, -0.322046, -0.22350314, 0.73772144)
bones/55/scale = Vector3(1.0000002, 1, 1.0000002)
bones/56/position = Vector3(0.0013532753, 0.57868266, 0.05537574)
bones/56/rotation = Quaternion(-0.00015348212, 0.90210384, -0.43151882, 0.0003204293)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0000004, 1.0000004, 1.0000002)
bones/62/rotation = Quaternion(-1.7092354e-08, -0.18223058, 2.6700846e-08, 0.98325586)
bones/62/scale = Vector3(1.0000002, 1.0000002, 1.0000001)
bones/64/scale = Vector3(1.0000004, 1.0000004, 1)
bones/65/rotation = Quaternion(-1.0345744e-08, -0.3796584, -4.0675246e-08, 0.9251268)
bones/65/scale = Vector3(1.0000002, 1.0000004, 1.0000004)
bones/67/rotation = Quaternion(0.7179022, -7.671307e-07, 7.885642e-07, 0.696144)
bones/67/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/68/rotation = Quaternion(0.9776482, 2.0029378e-07, 1.0460874e-06, -0.2102479)
bones/68/scale = Vector3(1.0000004, 1.0000004, 0.9999982)
bones/69/position = Vector3(-2.4645832e-08, -6.861796e-09, 7.455772e-08)
bones/69/rotation = Quaternion(-0.8315212, 2.5276703e-08, -9.3330055e-09, 0.5554931)
bones/69/scale = Vector3(1, 1.0000001, 1.0000002)
bones/70/rotation = Quaternion(0.67750055, 8.820757e-08, 7.575834e-08, 0.7355223)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9999999, 1, 0.9999999)
bones/72/rotation = Quaternion(-2.1641608e-07, -4.6565607e-10, -4.6576065e-10, 1)
bones/75/rotation = Quaternion(-0.34314692, -0.20321459, -0.2785586, 0.8737043)
bones/76/position = Vector3(1.01587794e-07, -1.5306958e-07, -4.3554866e-07)
bones/76/rotation = Quaternion(-0.51764834, -7.167482e-08, 1.7163823e-07, 0.85559356)
bones/77/rotation = Quaternion(0.93367195, 1.2110854e-07, 3.8556042e-08, 0.35812962)
bones/78/position = Vector3(0.8199172, 0.25251257, 0.47214243)
bones/78/rotation = Quaternion(0.6979164, 0.16086517, -0.15598962, 0.6802223)
bones/78/scale = Vector3(1.0000004, 0.9999997, 0.99999905)
bones/80/rotation = Quaternion(0.7179022, -7.6713064e-07, 7.885641e-07, 0.696144)
bones/80/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/81/rotation = Quaternion(0.97764814, 1.9846473e-07, 1.0426893e-06, -0.21024783)
bones/81/scale = Vector3(1.0000004, 1.0000002, 0.9999982)
bones/82/position = Vector3(6.103571e-08, 8.8816435e-08, -3.6955274e-09)
bones/82/rotation = Quaternion(-0.8315211, 2.3407136e-08, -1.2821512e-08, 0.5554932)
bones/82/scale = Vector3(0.99999994, 0.99999994, 1)
bones/83/rotation = Quaternion(0.6775009, -8.600083e-08, -8.977273e-08, 0.735522)
bones/83/scale = Vector3(1, 1.0000001, 1)
bones/84/scale = Vector3(0.99999994, 1.0000001, 0.9999999)
bones/85/rotation = Quaternion(2.6833732e-07, -9.313788e-10, -2.5612494e-09, 1)
bones/85/scale = Vector3(1.0000001, 1, 1.0000001)
bones/87/rotation = Quaternion(-0.5230753, 0.20132942, 0.026226493, 0.8277505)
bones/88/rotation = Quaternion(0.61967987, 0.23118778, 0.3169036, 0.679795)
bones/89/position = Vector3(2.953037e-07, 4.9207458e-08, -4.3015167e-08)
bones/89/rotation = Quaternion(-0.001144886, -2.973514e-08, 2.817069e-08, 0.9999994)
bones/90/rotation = Quaternion(0.0023764072, -4.0769752e-08, -7.0690255e-08, 0.99999726)
bones/91/position = Vector3(-0.8199192, 0.2525128, 0.47213912)
bones/91/rotation = Quaternion(-0.49266297, -0.27058598, 0.2623832, 0.78436047)
bones/91/scale = Vector3(1.0000002, 0.999999, 0.99999964)
bones/96/position = Vector3(-0.021971898, -1.2751104, 0.16484088)
bones/96/rotation = Quaternion(-0.47603267, 0.067788206, -0.035077166, 0.8761091)
bones/96/scale = Vector3(0.9999999, 0.9999999, 0.99999976)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.01993539, 0.08757691, 0.045667563)
bones/98/rotation = Quaternion(0.1475291, 0.03397043, -0.019923227, 0.9882734)
bones/98/scale = Vector3(1, 1.0000011, 1.0000023)
bones/101/position = Vector3(-0.021972047, 0.8282039, 0.0959422)
bones/101/rotation = Quaternion(0.8371564, 0.04015539, 0.06490996, 0.5416119)
bones/101/scale = Vector3(1, 1.0000066, 0.99998474)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(0.17285576, 0.72785676, 1.0822707)
bones/103/rotation = Quaternion(0.27801546, 0.0014157619, 0.015671493, 0.9604477)
bones/103/scale = Vector3(1.0000002, 1.000013, 1.0000246)
bones/104/rotation = Quaternion(0.5037003, 0.13519715, -0.093790196, 0.84806323)
bones/104/scale = Vector3(1.0000721, 1.0000457, 0.99993384)
bones/105/rotation = Quaternion(0.97757924, -0.053521663, -0.054415643, -0.19624804)
bones/105/scale = Vector3(1.0000001, 1.0000083, 1.0000036)
bones/106/position = Vector3(0.023142539, -0.54231995, -0.9607401)
bones/106/rotation = Quaternion(0.99272084, -0.08158898, -0.03307842, -0.08218607)
bones/107/rotation = Quaternion(0.903578, -0.12777254, -0.05477002, -0.4052421)
bones/107/scale = Vector3(0.9999992, 0.9999624, 1.0000123)
bones/108/position = Vector3(-1.1340098e-08, 7.923448e-07, 9.0939814e-08)
bones/108/rotation = Quaternion(0.98967296, 0.0031370325, 0.10343237, -0.09919364)
bones/110/rotation = Quaternion(9.815354e-07, 7.072085e-10, -9.586452e-08, 1)
bones/110/scale = Vector3(0.99999994, 0.99999976, 1.0000001)
bones/113/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/113/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/114/position = Vector3(-0.031743176, 0.60466695, -0.39704067)
bones/114/rotation = Quaternion(0.4176498, -0.11118397, 0.55639553, -0.70966953)
bones/114/scale = Vector3(1.0000015, 1.0000038, 1.0000079)
bones/115/rotation = Quaternion(-0.07547326, 0.02173067, -0.31477332, 0.945912)
bones/115/scale = Vector3(0.9999974, 1.0000036, 0.99999976)
bones/116/rotation = Quaternion(0.03028559, -0.3116764, -0.037417784, 0.9489682)
bones/116/scale = Vector3(1.0000005, 0.9999972, 1.0000013)
bones/119/scale = Vector3(1.0000043, 0.9999975, 0.99999744)
bones/121/rotation = Quaternion(-4.820391e-08, -0.1579088, -2.0880496e-08, 0.98745376)
bones/121/scale = Vector3(1.0000037, 0.99999774, 0.9999977)
bones/123/scale = Vector3(1.000003, 0.9999977, 0.99999917)
bones/124/rotation = Quaternion(-3.1036683e-07, 0.17317644, 6.989145e-08, 0.9848908)
bones/124/scale = Vector3(1.0000037, 0.9999978, 0.99999875)
bones/126/rotation = Quaternion(-0.5163543, -0.16816929, 0.6340875, 0.550482)
bones/126/scale = Vector3(1.0000015, 1.000007, 1.000004)
bones/127/rotation = Quaternion(-0.24332331, 0.12663932, 0.6612194, 0.6982444)
bones/127/scale = Vector3(1.0000017, 1.0000014, 1.0000097)
bones/128/position = Vector3(-0.008928956, 0.128764, -0.06877987)
bones/128/rotation = Quaternion(0.025037244, 0.39930493, -0.88358396, 0.24332726)
bones/129/rotation = Quaternion(-0.07547334, 0.021730714, -0.31477335, 0.94591194)
bones/131/rotation = Quaternion(-0.41802245, -0.28161782, 0.08442414, 0.85954714)
bones/132/rotation = Quaternion(-0.5281791, -0.34319904, -0.62196887, -0.46518382)
bones/133/rotation = Quaternion(-0.012777329, 0.011854946, 0.00015161165, 0.9998482)
bones/133/scale = Vector3(1.0423008, 1.0423008, 1.0423006)
bones/134/rotation = Quaternion(0.02152103, -3.688601e-08, -1.5255387e-07, 0.99976844)
bones/134/scale = Vector3(0.9882629, 0.9882634, 0.98826265)
bones/135/position = Vector3(-0.0317431, 0.60466677, -0.39704087)
bones/135/rotation = Quaternion(0.22344373, -0.32689255, 0.658746, -0.6397405)
bones/135/scale = Vector3(1.0000048, 1.0000036, 1.0000046)
bones/137/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/137/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/138/position = Vector3(-0.19594865, 0.65740275, -0.22511396)
bones/138/rotation = Quaternion(0.36201134, 0.22157827, -0.6475769, -0.63284683)
bones/138/scale = Vector3(1.0000019, 1.0000045, 1.0000057)
bones/139/rotation = Quaternion(-0.018797327, 0.13857716, 0.33871746, 0.9304373)
bones/139/scale = Vector3(0.9999983, 1.0000024, 0.9999992)
bones/140/rotation = Quaternion(0.09896898, 0.1986053, -0.00787212, 0.975038)
bones/140/scale = Vector3(1.0000031, 0.9999977, 0.9999988)
bones/143/scale = Vector3(1.000005, 0.99999815, 0.9999967)
bones/145/rotation = Quaternion(-1.7910523e-07, 0.10005118, -9.714451e-08, 0.9949823)
bones/145/scale = Vector3(1.0000045, 0.99999803, 0.9999968)
bones/147/scale = Vector3(1.0000035, 0.99999845, 0.9999981)
bones/148/rotation = Quaternion(2.0844507e-07, 0.011625211, 4.5709146e-07, 0.9999325)
bones/148/scale = Vector3(1.000004, 0.9999991, 0.999998)
bones/150/rotation = Quaternion(-0.51635444, 0.16816957, -0.63408744, 0.55048186)
bones/150/scale = Vector3(1.000001, 1.0000067, 1.000004)
bones/151/rotation = Quaternion(-0.24332346, -0.12663896, -0.6612195, 0.6982443)
bones/151/scale = Vector3(1.0000011, 1.0000017, 1.0000095)
bones/152/position = Vector3(0.027921734, -0.124764316, 0.07102555)
bones/152/rotation = Quaternion(-0.12973516, 0.47151387, -0.86254627, -0.12983702)
bones/153/rotation = Quaternion(-0.018797398, 0.13857722, 0.33871746, 0.9304373)
bones/155/rotation = Quaternion(-0.36541468, 0.16190512, -0.07102372, 0.91390073)
bones/155/scale = Vector3(0.99999994, 1, 0.9999998)
bones/156/rotation = Quaternion(0.68045896, -0.19169958, -0.3896983, 0.59022206)
bones/157/rotation = Quaternion(-0.01277751, -0.011854968, -0.0001513001, 0.9998481)
bones/157/scale = Vector3(1.0423003, 1.0422994, 1.0423005)
bones/158/rotation = Quaternion(0.021521209, -2.5687226e-07, -2.570953e-07, 0.9997684)
bones/158/scale = Vector3(0.9882631, 0.98826426, 0.9882618)
bones/159/position = Vector3(-0.19594839, 0.65740275, -0.2251139)
bones/159/rotation = Quaternion(0.28422734, 0.29369113, -0.68527013, -0.60279787)
bones/159/scale = Vector3(1.0000027, 1.0000043, 1.0000049)
bones/161/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/161/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/162/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/162/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/165/position = Vector3(-1.5017577e-08, 0.26895812, -1.6243575e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(0.0034187725, -3.131728, 0.9674823)
bones/167/position = Vector3(0.209171, 5.0901713, -2.6670303)
bones/167/rotation = Quaternion(0.16656846, 0.015223213, 0.18356222, 0.9686734)
bones/167/scale = Vector3(0.9999988, 0.9999987, 1.0000023)
bones/168/position = Vector3(0.18381567, -0.9622623, 0.9894084)
bones/168/rotation = Quaternion(0.9362244, -6.2652596e-08, -0.34127164, -0.083770975)
bones/168/scale = Vector3(1.0000011, 1.0000015, 1.0000101)
bones/170/position = Vector3(0.748137, 0.69556385, 3.7252903e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(0.6322718, -2.6572587, 0.6064028)
bones/172/position = Vector3(-1.5122895, 4.4686184, -2.7014794)
bones/172/rotation = Quaternion(0.21553025, -0.03620148, 0.11066054, 0.9695311)
bones/172/scale = Vector3(0.99999887, 0.9999985, 1.0000024)
bones/173/position = Vector3(0.18381546, -0.96226203, 0.9894083)
bones/173/rotation = Quaternion(0.93622434, -2.9748788e-08, 0.34127158, -0.083771475)
bones/173/scale = Vector3(0.999999, 1.0000014, 0.99999464)
bones/175/position = Vector3(0.2542465, -2.2077389, 0.9589075)
bones/175/rotation = Quaternion(-0.008919476, -0.00021326332, -0.000697989, 0.99996)
bones/183/position = Vector3(-1.982537e-07, 5.9604563e-08, -1.517833e-08)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.57634556, 3.7607954, 0.15364014)
bones/186/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/186/scale = Vector3(0.9999997, 0.99999994, 1)
bones/187/rotation = Quaternion(0.15451065, -2.0305349e-09, -2.0850066e-09, 0.9879911)
bones/187/scale = Vector3(1.0000002, 0.99999994, 0.9999999)
bones/197/position = Vector3(-0.0011225368, -0.015787723, -0.051779967)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(-1.0407574, 3.6267605, -0.083099455)
bones/200/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/200/scale = Vector3(0.9999997, 0.99999994, 1)
bones/201/rotation = Quaternion(0.15451066, -1.9585848e-09, -2.5450761e-09, 0.9879911)
bones/201/scale = Vector3(1.0000002, 0.99999994, 0.99999994)
[editable path="bear_model"]
[editable path="bear_model/test_cube/Bear_FX"]
+319
View File
@@ -0,0 +1,319 @@
[gd_scene format=3 uid="uid://o8ocjfprxa7u"]
[ext_resource type="Script" uid="uid://cn7fhjkro7637" path="res://bear.gd" id="1_beargd"]
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
[ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"]
[ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0
height = 2.4
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
radius = 1.3
height = 2.7
[sub_resource type="BoxShape3D" id="BoxShape3D_bfebr"]
size = Vector3(6.2019043, 8.561401, 7.0739746)
[sub_resource type="BoxShape3D" id="BoxShape3D_rog1v"]
size = Vector3(14.399288, 51.902206, 5.741211)
[node name="Bear" type="CharacterBody3D" unique_id=1573237287]
script = ExtResource("1_beargd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=830443382]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
shape = SubResource("CapsuleShape3D_body")
[node name="HitArea" type="Area3D" parent="." unique_id=365327397]
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea" unique_id=2111867348]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_hit")
[node name="bear_model" parent="." unique_id=359217823 instance=ExtResource("2_bearglb")]
[node name="test_cube" type="Node3D" parent="bear_model" unique_id=646988893]
script = ExtResource("3_rog1v")
[node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")]
[node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=750478984]
visible = false
[node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=88064381]
visible = false
[node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=1378755061]
visible = false
[node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=1711579105]
transform = Transform3D(0.55488384, -0.039024748, -0.018949924, 0.041069064, 0.55086076, 0.06814586, 0.013977209, -0.06933683, 0.5520644, 1.327292, -0.21312934, 5.190573)
[node name="RigidBody3D" type="AnimatableBody3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit" index="0" unique_id=1764208051]
transform = Transform3D(1.0000001, -1.21071935e-08, -1.8626451e-08, -9.313226e-10, 0.99999994, 7.450581e-09, 3.7252903e-09, -1.4901161e-08, 0.99999994, 0, 0, 0)
collision_layer = 8
collision_mask = 2
[node name="CollisionShape3D2" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1779197150]
transform = Transform3D(0.99993557, -0.00749125, -0.010078691, 0.0077760145, 0.999569, 0.028562747, 0.009858355, -0.028639637, 0.9995405, -1.5136471, 0.9093375, 35.591957)
shape = SubResource("BoxShape3D_bfebr")
disabled = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1276552823]
transform = Transform3D(0.9935104, -0.040698394, -0.10621016, -0.108634494, -0.06290151, -0.9920882, 0.03369555, 0.99719334, -0.06691426, -1.6357545, -0.5093044, 12.68803)
shape = SubResource("BoxShape3D_rog1v")
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1017999212) index="0" unique_id=1624609914]
bones/1/position = Vector3(0.00851878, 0.24701798, 1.2888045)
bones/1/rotation = Quaternion(0.29791054, -0.060797628, -0.056875575, 0.9509564)
bones/2/rotation = Quaternion(0.084239505, -0.026013458, 0.009274505, 0.9960628)
bones/2/scale = Vector3(0.9999999, 1.0000008, 0.99999934)
bones/3/rotation = Quaternion(-0.14812404, -0.039577905, 0.049865585, 0.98691756)
bones/4/rotation = Quaternion(-0.40577498, -0.03082885, 0.05040324, 0.9120612)
bones/5/rotation = Quaternion(0.27801633, 0.0014148077, 0.015671793, 0.96044755)
bones/6/rotation = Quaternion(0.50370073, 0.13519946, -0.093789615, 0.8480627)
bones/7/rotation = Quaternion(0.75079185, 0.54212743, -0.37154716, 0.06604591)
bones/8/rotation = Quaternion(0.22344273, -0.32689556, 0.65874565, -0.63973963)
bones/9/rotation = Quaternion(0.026405705, -0.27415153, -0.3226086, 0.9055757)
bones/10/rotation = Quaternion(0.030285481, -0.31167626, -0.037417818, 0.94896823)
bones/11/rotation = Quaternion(0.751943, -0.5788067, 0.30500817, 0.080837056)
bones/12/rotation = Quaternion(0.28422552, 0.2936944, -0.68526876, -0.6027987)
bones/13/rotation = Quaternion(0.020711409, 0.24585825, 0.3386082, 0.9080029)
bones/14/rotation = Quaternion(0.098969, 0.19860524, -0.007872087, 0.97503805)
bones/15/rotation = Quaternion(0.6979166, 0.16086513, -0.15598965, 0.680222)
bones/16/rotation = Quaternion(0.89734674, 0.09874082, -0.25790086, 0.34424722)
bones/17/rotation = Quaternion(-0.13802421, 0.26758972, 0.081159085, 0.9501359)
bones/17/scale = Vector3(0.9999998, 1.0000002, 1)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(-0.49266306, -0.27058616, 0.262383, 0.7843606)
bones/21/rotation = Quaternion(0.0016915401, 0.70246154, -0.001669446, 0.7117178)
bones/22/rotation = Quaternion(-0.5496364, -0.3220462, -0.22350304, 0.73772115)
bones/22/scale = Vector3(0.9999997, 0.9999998, 0.9999999)
bones/23/rotation = Quaternion(-0.00015351747, 0.902104, -0.4315187, 0.00032039074)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(1.0191536, 3.5353048, 3.5049686)
bones/25/rotation = Quaternion(-0.087474234, 0.16733547, 0.98056763, 0.053239316)
bones/25/scale = Vector3(1, 17.518272, 1.0000001)
bones/26/position = Vector3(-1.0831825, 3.749937, 2.5891113)
bones/26/rotation = Quaternion(0.016340872, 0.19671263, 0.9801456, 0.01875816)
bones/26/scale = Vector3(1.0000001, 18.765795, 1)
bones/27/position = Vector3(1.0193456, -0.43209565, 2.5343885)
bones/27/rotation = Quaternion(0.61800283, -0.11976056, 0.11976072, 0.7677157)
bones/27/scale = Vector3(0.99999994, 16.85072, 1)
bones/28/position = Vector3(-0.8340287, 1.0348616, 1.282705)
bones/28/rotation = Quaternion(0.82860446, -0.029359974, 0.02935981, 0.5582926)
bones/28/scale = Vector3(0.99999994, 32.068844, 1)
bones/30/position = Vector3(0.032563455, -0.8335703, -0.9236449)
bones/30/rotation = Quaternion(-0.8670657, 0.042821795, -0.07139772, 0.4911883)
bones/31/position = Vector3(2.3450447e-08, -1.4631646, 0.23291242)
bones/31/rotation = Quaternion(-6.0737464e-09, 4.8699293e-09, -1.4618977e-09, 1)
bones/31/scale = Vector3(0.99999994, 0.9999999, 0.99999994)
bones/32/position = Vector3(-0.04394375, -1.087056, 0.096768975)
bones/32/rotation = Quaternion(-0.8343034, 0.119118, -0.061490715, 0.5347595)
bones/32/scale = Vector3(0.9999999, 0.99999976, 0.99999964)
bones/33/position = Vector3(3.977649e-08, -1.4631644, 0.23291251)
bones/33/rotation = Quaternion(-8.833673e-08, -2.419923e-08, -6.733043e-09, 1)
bones/33/scale = Vector3(0.9999998, 0.9999998, 0.99999994)
bones/35/position = Vector3(1.0184407e-08, -1.0594703, -5.9146995e-08)
bones/35/rotation = Quaternion(0.99971783, 1.3593646e-07, 5.3695976e-06, -0.023754615)
bones/35/scale = Vector3(0.99999976, 0.9999998, 1.0000012)
bones/39/position = Vector3(0.8199172, 0.25251278, 0.47214246)
bones/39/rotation = Quaternion(0.71402234, 0.34199142, 0.043267474, 0.60937834)
bones/39/scale = Vector3(1.0000004, 0.9999996, 0.9999991)
bones/40/rotation = Quaternion(0.9336719, 1.2799235e-07, 3.7337827e-08, 0.3581296)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.13802455, 0.26758966, 0.08115916, 0.9501359)
bones/41/scale = Vector3(0.99999946, 0.99999976, 0.9999996)
bones/42/position = Vector3(-1.9729964e-07, 0.56145483, 7.283501e-08)
bones/46/scale = Vector3(0.99999946, 0.99999964, 0.9999999)
bones/48/rotation = Quaternion(-2.9741386e-07, 0.13593404, 1.01778824e-07, 0.9907179)
bones/48/scale = Vector3(0.9999993, 0.9999996, 0.9999999)
bones/50/scale = Vector3(0.99999994, 0.99999994, 0.9999998)
bones/51/rotation = Quaternion(-2.5567479e-08, -0.20499781, -2.3086146e-08, 0.9787625)
bones/51/scale = Vector3(0.9999999, 0.99999964, 0.99999964)
bones/53/position = Vector3(-0.8199191, 0.25251284, 0.47213903)
bones/53/rotation = Quaternion(-0.5351706, 0.35860845, -0.15898216, 0.74814254)
bones/53/scale = Vector3(1, 0.99999875, 0.99999946)
bones/54/rotation = Quaternion(0.0023762286, -4.7362324e-08, -6.475868e-08, 0.9999972)
bones/55/rotation = Quaternion(-0.54963607, -0.322046, -0.22350314, 0.73772144)
bones/55/scale = Vector3(1.0000002, 1, 1.0000002)
bones/56/position = Vector3(0.0013532753, 0.57868266, 0.05537574)
bones/56/rotation = Quaternion(-0.00015348212, 0.90210384, -0.43151882, 0.0003204293)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0000004, 1.0000004, 1.0000002)
bones/62/rotation = Quaternion(-1.7092354e-08, -0.18223058, 2.6700846e-08, 0.98325586)
bones/62/scale = Vector3(1.0000002, 1.0000002, 1.0000001)
bones/64/scale = Vector3(1.0000004, 1.0000004, 1)
bones/65/rotation = Quaternion(-1.0345744e-08, -0.3796584, -4.0675246e-08, 0.9251268)
bones/65/scale = Vector3(1.0000002, 1.0000004, 1.0000004)
bones/67/rotation = Quaternion(0.7179022, -7.671307e-07, 7.885642e-07, 0.696144)
bones/67/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/68/rotation = Quaternion(0.9776482, 2.0029378e-07, 1.0460874e-06, -0.2102479)
bones/68/scale = Vector3(1.0000004, 1.0000004, 0.9999982)
bones/69/position = Vector3(-2.4645832e-08, -6.861796e-09, 7.455772e-08)
bones/69/rotation = Quaternion(-0.8315212, 2.5276703e-08, -9.3330055e-09, 0.5554931)
bones/69/scale = Vector3(1, 1.0000001, 1.0000002)
bones/70/rotation = Quaternion(0.67750055, 8.820757e-08, 7.575834e-08, 0.7355223)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9999999, 1, 0.9999999)
bones/72/rotation = Quaternion(-2.1641608e-07, -4.6565607e-10, -4.6576065e-10, 1)
bones/75/rotation = Quaternion(-0.34314692, -0.20321459, -0.2785586, 0.8737043)
bones/76/position = Vector3(1.01587794e-07, -1.5306958e-07, -4.3554866e-07)
bones/76/rotation = Quaternion(-0.51764834, -7.167482e-08, 1.7163823e-07, 0.85559356)
bones/77/rotation = Quaternion(0.93367195, 1.2110854e-07, 3.8556042e-08, 0.35812962)
bones/78/position = Vector3(0.8199172, 0.25251257, 0.47214243)
bones/78/rotation = Quaternion(0.6979164, 0.16086517, -0.15598962, 0.6802223)
bones/78/scale = Vector3(1.0000004, 0.9999997, 0.99999905)
bones/80/rotation = Quaternion(0.7179022, -7.6713064e-07, 7.885641e-07, 0.696144)
bones/80/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/81/rotation = Quaternion(0.97764814, 1.9846473e-07, 1.0426893e-06, -0.21024783)
bones/81/scale = Vector3(1.0000004, 1.0000002, 0.9999982)
bones/82/position = Vector3(6.103571e-08, 8.8816435e-08, -3.6955274e-09)
bones/82/rotation = Quaternion(-0.8315211, 2.3407136e-08, -1.2821512e-08, 0.5554932)
bones/82/scale = Vector3(0.99999994, 0.99999994, 1)
bones/83/rotation = Quaternion(0.6775009, -8.600083e-08, -8.977273e-08, 0.735522)
bones/83/scale = Vector3(1, 1.0000001, 1)
bones/84/scale = Vector3(0.99999994, 1.0000001, 0.9999999)
bones/85/rotation = Quaternion(2.6833732e-07, -9.313788e-10, -2.5612494e-09, 1)
bones/85/scale = Vector3(1.0000001, 1, 1.0000001)
bones/87/rotation = Quaternion(-0.5230753, 0.20132942, 0.026226493, 0.8277505)
bones/88/rotation = Quaternion(0.61967987, 0.23118778, 0.3169036, 0.679795)
bones/89/position = Vector3(2.953037e-07, 4.9207458e-08, -4.3015167e-08)
bones/89/rotation = Quaternion(-0.001144886, -2.973514e-08, 2.817069e-08, 0.9999994)
bones/90/rotation = Quaternion(0.0023764072, -4.0769752e-08, -7.0690255e-08, 0.99999726)
bones/91/position = Vector3(-0.8199192, 0.2525128, 0.47213912)
bones/91/rotation = Quaternion(-0.49266297, -0.27058598, 0.2623832, 0.78436047)
bones/91/scale = Vector3(1.0000002, 0.999999, 0.99999964)
bones/96/position = Vector3(-0.021971898, -1.2751104, 0.16484088)
bones/96/rotation = Quaternion(-0.47603267, 0.067788206, -0.035077166, 0.8761091)
bones/96/scale = Vector3(0.9999999, 0.9999999, 0.99999976)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.01993539, 0.08757691, 0.045667563)
bones/98/rotation = Quaternion(0.1475291, 0.03397043, -0.019923227, 0.9882734)
bones/98/scale = Vector3(1, 1.0000011, 1.0000023)
bones/101/position = Vector3(-0.021972047, 0.8282039, 0.0959422)
bones/101/rotation = Quaternion(0.8371564, 0.04015539, 0.06490996, 0.5416119)
bones/101/scale = Vector3(1, 1.0000066, 0.99998474)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(0.17285576, 0.72785676, 1.0822707)
bones/103/rotation = Quaternion(0.27801546, 0.0014157619, 0.015671493, 0.9604477)
bones/103/scale = Vector3(1.0000002, 1.000013, 1.0000246)
bones/104/rotation = Quaternion(0.5037003, 0.13519715, -0.093790196, 0.84806323)
bones/104/scale = Vector3(1.0000721, 1.0000457, 0.99993384)
bones/105/rotation = Quaternion(0.97757924, -0.053521663, -0.054415643, -0.19624804)
bones/105/scale = Vector3(1.0000001, 1.0000083, 1.0000036)
bones/106/position = Vector3(0.023142539, -0.54231995, -0.9607401)
bones/106/rotation = Quaternion(0.99272084, -0.08158898, -0.03307842, -0.08218607)
bones/107/rotation = Quaternion(0.903578, -0.12777254, -0.05477002, -0.4052421)
bones/107/scale = Vector3(0.9999992, 0.9999624, 1.0000123)
bones/108/position = Vector3(-1.1340098e-08, 7.923448e-07, 9.0939814e-08)
bones/108/rotation = Quaternion(0.98967296, 0.0031370325, 0.10343237, -0.09919364)
bones/110/rotation = Quaternion(9.815354e-07, 7.072085e-10, -9.586452e-08, 1)
bones/110/scale = Vector3(0.99999994, 0.99999976, 1.0000001)
bones/113/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/113/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/114/position = Vector3(-0.031743176, 0.60466695, -0.39704067)
bones/114/rotation = Quaternion(0.4176498, -0.11118397, 0.55639553, -0.70966953)
bones/114/scale = Vector3(1.0000015, 1.0000038, 1.0000079)
bones/115/rotation = Quaternion(-0.07547326, 0.02173067, -0.31477332, 0.945912)
bones/115/scale = Vector3(0.9999974, 1.0000036, 0.99999976)
bones/116/rotation = Quaternion(0.03028559, -0.3116764, -0.037417784, 0.9489682)
bones/116/scale = Vector3(1.0000005, 0.9999972, 1.0000013)
bones/119/scale = Vector3(1.0000043, 0.9999975, 0.99999744)
bones/121/rotation = Quaternion(-4.820391e-08, -0.1579088, -2.0880496e-08, 0.98745376)
bones/121/scale = Vector3(1.0000037, 0.99999774, 0.9999977)
bones/123/scale = Vector3(1.000003, 0.9999977, 0.99999917)
bones/124/rotation = Quaternion(-3.1036683e-07, 0.17317644, 6.989145e-08, 0.9848908)
bones/124/scale = Vector3(1.0000037, 0.9999978, 0.99999875)
bones/126/rotation = Quaternion(-0.5163543, -0.16816929, 0.6340875, 0.550482)
bones/126/scale = Vector3(1.0000015, 1.000007, 1.000004)
bones/127/rotation = Quaternion(-0.24332331, 0.12663932, 0.6612194, 0.6982444)
bones/127/scale = Vector3(1.0000017, 1.0000014, 1.0000097)
bones/128/position = Vector3(-0.008928956, 0.128764, -0.06877987)
bones/128/rotation = Quaternion(0.025037244, 0.39930493, -0.88358396, 0.24332726)
bones/129/rotation = Quaternion(-0.07547334, 0.021730714, -0.31477335, 0.94591194)
bones/131/rotation = Quaternion(-0.41802245, -0.28161782, 0.08442414, 0.85954714)
bones/132/rotation = Quaternion(-0.5281791, -0.34319904, -0.62196887, -0.46518382)
bones/133/rotation = Quaternion(-0.012777329, 0.011854946, 0.00015161165, 0.9998482)
bones/133/scale = Vector3(1.0423008, 1.0423008, 1.0423006)
bones/134/rotation = Quaternion(0.02152103, -3.688601e-08, -1.5255387e-07, 0.99976844)
bones/134/scale = Vector3(0.9882629, 0.9882634, 0.98826265)
bones/135/position = Vector3(-0.0317431, 0.60466677, -0.39704087)
bones/135/rotation = Quaternion(0.22344373, -0.32689255, 0.658746, -0.6397405)
bones/135/scale = Vector3(1.0000048, 1.0000036, 1.0000046)
bones/137/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/137/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/138/position = Vector3(-0.19594865, 0.65740275, -0.22511396)
bones/138/rotation = Quaternion(0.36201134, 0.22157827, -0.6475769, -0.63284683)
bones/138/scale = Vector3(1.0000019, 1.0000045, 1.0000057)
bones/139/rotation = Quaternion(-0.018797327, 0.13857716, 0.33871746, 0.9304373)
bones/139/scale = Vector3(0.9999983, 1.0000024, 0.9999992)
bones/140/rotation = Quaternion(0.09896898, 0.1986053, -0.00787212, 0.975038)
bones/140/scale = Vector3(1.0000031, 0.9999977, 0.9999988)
bones/143/scale = Vector3(1.000005, 0.99999815, 0.9999967)
bones/145/rotation = Quaternion(-1.7910523e-07, 0.10005118, -9.714451e-08, 0.9949823)
bones/145/scale = Vector3(1.0000045, 0.99999803, 0.9999968)
bones/147/scale = Vector3(1.0000035, 0.99999845, 0.9999981)
bones/148/rotation = Quaternion(2.0844507e-07, 0.011625211, 4.5709146e-07, 0.9999325)
bones/148/scale = Vector3(1.000004, 0.9999991, 0.999998)
bones/150/rotation = Quaternion(-0.51635444, 0.16816957, -0.63408744, 0.55048186)
bones/150/scale = Vector3(1.000001, 1.0000067, 1.000004)
bones/151/rotation = Quaternion(-0.24332346, -0.12663896, -0.6612195, 0.6982443)
bones/151/scale = Vector3(1.0000011, 1.0000017, 1.0000095)
bones/152/position = Vector3(0.027921734, -0.124764316, 0.07102555)
bones/152/rotation = Quaternion(-0.12973516, 0.47151387, -0.86254627, -0.12983702)
bones/153/rotation = Quaternion(-0.018797398, 0.13857722, 0.33871746, 0.9304373)
bones/155/rotation = Quaternion(-0.36541468, 0.16190512, -0.07102372, 0.91390073)
bones/155/scale = Vector3(0.99999994, 1, 0.9999998)
bones/156/rotation = Quaternion(0.68045896, -0.19169958, -0.3896983, 0.59022206)
bones/157/rotation = Quaternion(-0.01277751, -0.011854968, -0.0001513001, 0.9998481)
bones/157/scale = Vector3(1.0423003, 1.0422994, 1.0423005)
bones/158/rotation = Quaternion(0.021521209, -2.5687226e-07, -2.570953e-07, 0.9997684)
bones/158/scale = Vector3(0.9882631, 0.98826426, 0.9882618)
bones/159/position = Vector3(-0.19594839, 0.65740275, -0.2251139)
bones/159/rotation = Quaternion(0.28422734, 0.29369113, -0.68527013, -0.60279787)
bones/159/scale = Vector3(1.0000027, 1.0000043, 1.0000049)
bones/161/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/161/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/162/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/162/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/165/position = Vector3(-1.5017577e-08, 0.26895812, -1.6243575e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(0.0034187725, -3.131728, 0.9674823)
bones/167/position = Vector3(0.209171, 5.0901713, -2.6670303)
bones/167/rotation = Quaternion(0.16656846, 0.015223213, 0.18356222, 0.9686734)
bones/167/scale = Vector3(0.9999988, 0.9999987, 1.0000023)
bones/168/position = Vector3(0.18381567, -0.9622623, 0.9894084)
bones/168/rotation = Quaternion(0.9362244, -6.2652596e-08, -0.34127164, -0.083770975)
bones/168/scale = Vector3(1.0000011, 1.0000015, 1.0000101)
bones/170/position = Vector3(0.748137, 0.69556385, 3.7252903e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(0.6322718, -2.6572587, 0.6064028)
bones/172/position = Vector3(-1.5122895, 4.4686184, -2.7014794)
bones/172/rotation = Quaternion(0.21553025, -0.03620148, 0.11066054, 0.9695311)
bones/172/scale = Vector3(0.99999887, 0.9999985, 1.0000024)
bones/173/position = Vector3(0.18381546, -0.96226203, 0.9894083)
bones/173/rotation = Quaternion(0.93622434, -2.9748788e-08, 0.34127158, -0.083771475)
bones/173/scale = Vector3(0.999999, 1.0000014, 0.99999464)
bones/175/position = Vector3(0.2542465, -2.2077389, 0.9589075)
bones/175/rotation = Quaternion(-0.008919476, -0.00021326332, -0.000697989, 0.99996)
bones/183/position = Vector3(-1.982537e-07, 5.9604563e-08, -1.517833e-08)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.57634556, 3.7607954, 0.15364014)
bones/186/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/186/scale = Vector3(0.9999997, 0.99999994, 1)
bones/187/rotation = Quaternion(0.15451065, -2.0305349e-09, -2.0850066e-09, 0.9879911)
bones/187/scale = Vector3(1.0000002, 0.99999994, 0.9999999)
bones/197/position = Vector3(-0.0011225368, -0.015787723, -0.051779967)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(-1.0407574, 3.6267605, -0.083099455)
bones/200/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/200/scale = Vector3(0.9999997, 0.99999994, 1)
bones/201/rotation = Quaternion(0.15451066, -1.9585848e-09, -2.5450761e-09, 0.9879911)
bones/201/scale = Vector3(1.0000002, 0.99999994, 0.99999994)
[editable path="bear_model"]
[editable path="bear_model/test_cube/Bear_FX"]
+319
View File
@@ -0,0 +1,319 @@
[gd_scene format=3 uid="uid://o8ocjfprxa7u"]
[ext_resource type="Script" uid="uid://cn7fhjkro7637" path="res://bear.gd" id="1_beargd"]
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
[ext_resource type="Script" uid="uid://bsbed05ifr18s" path="res://bear_test_cube.gd" id="3_rog1v"]
[ext_resource type="PackedScene" uid="uid://bdbx0wwa73rhp" path="res://Assets/fx/Bear_FX.glb" id="4_rog1v"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0
height = 2.4
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
radius = 1.3
height = 2.7
[sub_resource type="BoxShape3D" id="BoxShape3D_bfebr"]
size = Vector3(6.2019043, 8.561401, 7.0739746)
[sub_resource type="BoxShape3D" id="BoxShape3D_rog1v"]
size = Vector3(14.399288, 51.902206, 5.741211)
[node name="Bear" type="CharacterBody3D" unique_id=1573237287]
script = ExtResource("1_beargd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=830443382]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
shape = SubResource("CapsuleShape3D_body")
[node name="HitArea" type="Area3D" parent="." unique_id=365327397]
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea" unique_id=2111867348]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_hit")
[node name="bear_model" parent="." unique_id=359217823 instance=ExtResource("2_bearglb")]
[node name="test_cube" type="Node3D" parent="bear_model" unique_id=646988893]
script = ExtResource("3_rog1v")
[node name="Bear_FX" parent="bear_model/test_cube" unique_id=1183391245 instance=ExtResource("4_rog1v")]
[node name="Bear_fx_jump_smash" parent="bear_model/test_cube/Bear_FX" index="0" unique_id=750478984]
visible = false
[node name="Bear_fx_claw_attack_R" parent="bear_model/test_cube/Bear_FX" index="1" unique_id=88064381]
visible = false
[node name="Bear_fx_claw_attack_L" parent="bear_model/test_cube/Bear_FX" index="2" unique_id=1378755061]
visible = false
[node name="Bear_fx_smash_hit" parent="bear_model/test_cube/Bear_FX" index="3" unique_id=1711579105]
transform = Transform3D(0.55488384, -0.039024748, -0.018949924, 0.041069064, 0.55086076, 0.06814586, 0.013977209, -0.06933683, 0.5520644, 1.327292, -0.21312934, 5.190573)
[node name="RigidBody3D" type="AnimatableBody3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit" index="0" unique_id=1764208051]
transform = Transform3D(1.0000001, -1.21071935e-08, -1.8626451e-08, -9.313226e-10, 0.99999994, 7.450581e-09, 3.7252903e-09, -1.4901161e-08, 0.99999994, 0, 0, 0)
collision_layer = 8
collision_mask = 2
[node name="CollisionShape3D2" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1779197150]
transform = Transform3D(0.99993557, -0.00749125, -0.010078691, 0.0077760145, 0.999569, 0.028562747, 0.009858355, -0.028639637, 0.9995405, -1.5136471, 0.9093375, 35.591957)
shape = SubResource("BoxShape3D_bfebr")
disabled = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="bear_model/test_cube/Bear_FX/Bear_fx_smash_hit/RigidBody3D" unique_id=1276552823]
transform = Transform3D(0.9935104, -0.040698394, -0.10621016, -0.108634494, -0.06290151, -0.9920882, 0.03369555, 0.99719334, -0.06691426, -1.6357545, -0.5093044, 12.68803)
shape = SubResource("BoxShape3D_rog1v")
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1017999212) index="0" unique_id=1624609914]
bones/1/position = Vector3(0.00851878, 0.24701798, 1.2888045)
bones/1/rotation = Quaternion(0.29791054, -0.060797628, -0.056875575, 0.9509564)
bones/2/rotation = Quaternion(0.084239505, -0.026013458, 0.009274505, 0.9960628)
bones/2/scale = Vector3(0.9999999, 1.0000008, 0.99999934)
bones/3/rotation = Quaternion(-0.14812404, -0.039577905, 0.049865585, 0.98691756)
bones/4/rotation = Quaternion(-0.40577498, -0.03082885, 0.05040324, 0.9120612)
bones/5/rotation = Quaternion(0.27801633, 0.0014148077, 0.015671793, 0.96044755)
bones/6/rotation = Quaternion(0.50370073, 0.13519946, -0.093789615, 0.8480627)
bones/7/rotation = Quaternion(0.75079185, 0.54212743, -0.37154716, 0.06604591)
bones/8/rotation = Quaternion(0.22344273, -0.32689556, 0.65874565, -0.63973963)
bones/9/rotation = Quaternion(0.026405705, -0.27415153, -0.3226086, 0.9055757)
bones/10/rotation = Quaternion(0.030285481, -0.31167626, -0.037417818, 0.94896823)
bones/11/rotation = Quaternion(0.751943, -0.5788067, 0.30500817, 0.080837056)
bones/12/rotation = Quaternion(0.28422552, 0.2936944, -0.68526876, -0.6027987)
bones/13/rotation = Quaternion(0.020711409, 0.24585825, 0.3386082, 0.9080029)
bones/14/rotation = Quaternion(0.098969, 0.19860524, -0.007872087, 0.97503805)
bones/15/rotation = Quaternion(0.6979166, 0.16086513, -0.15598965, 0.680222)
bones/16/rotation = Quaternion(0.89734674, 0.09874082, -0.25790086, 0.34424722)
bones/17/rotation = Quaternion(-0.13802421, 0.26758972, 0.081159085, 0.9501359)
bones/17/scale = Vector3(0.9999998, 1.0000002, 1)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(-0.49266306, -0.27058616, 0.262383, 0.7843606)
bones/21/rotation = Quaternion(0.0016915401, 0.70246154, -0.001669446, 0.7117178)
bones/22/rotation = Quaternion(-0.5496364, -0.3220462, -0.22350304, 0.73772115)
bones/22/scale = Vector3(0.9999997, 0.9999998, 0.9999999)
bones/23/rotation = Quaternion(-0.00015351747, 0.902104, -0.4315187, 0.00032039074)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(1.0191536, 3.5353048, 3.5049686)
bones/25/rotation = Quaternion(-0.087474234, 0.16733547, 0.98056763, 0.053239316)
bones/25/scale = Vector3(1, 17.518272, 1.0000001)
bones/26/position = Vector3(-1.0831825, 3.749937, 2.5891113)
bones/26/rotation = Quaternion(0.016340872, 0.19671263, 0.9801456, 0.01875816)
bones/26/scale = Vector3(1.0000001, 18.765795, 1)
bones/27/position = Vector3(1.0193456, -0.43209565, 2.5343885)
bones/27/rotation = Quaternion(0.61800283, -0.11976056, 0.11976072, 0.7677157)
bones/27/scale = Vector3(0.99999994, 16.85072, 1)
bones/28/position = Vector3(-0.8340287, 1.0348616, 1.282705)
bones/28/rotation = Quaternion(0.82860446, -0.029359974, 0.02935981, 0.5582926)
bones/28/scale = Vector3(0.99999994, 32.068844, 1)
bones/30/position = Vector3(0.032563455, -0.8335703, -0.9236449)
bones/30/rotation = Quaternion(-0.8670657, 0.042821795, -0.07139772, 0.4911883)
bones/31/position = Vector3(2.3450447e-08, -1.4631646, 0.23291242)
bones/31/rotation = Quaternion(-6.0737464e-09, 4.8699293e-09, -1.4618977e-09, 1)
bones/31/scale = Vector3(0.99999994, 0.9999999, 0.99999994)
bones/32/position = Vector3(-0.04394375, -1.087056, 0.096768975)
bones/32/rotation = Quaternion(-0.8343034, 0.119118, -0.061490715, 0.5347595)
bones/32/scale = Vector3(0.9999999, 0.99999976, 0.99999964)
bones/33/position = Vector3(3.977649e-08, -1.4631644, 0.23291251)
bones/33/rotation = Quaternion(-8.833673e-08, -2.419923e-08, -6.733043e-09, 1)
bones/33/scale = Vector3(0.9999998, 0.9999998, 0.99999994)
bones/35/position = Vector3(1.0184407e-08, -1.0594703, -5.9146995e-08)
bones/35/rotation = Quaternion(0.99971783, 1.3593646e-07, 5.3695976e-06, -0.023754615)
bones/35/scale = Vector3(0.99999976, 0.9999998, 1.0000012)
bones/39/position = Vector3(0.8199172, 0.25251278, 0.47214246)
bones/39/rotation = Quaternion(0.71402234, 0.34199142, 0.043267474, 0.60937834)
bones/39/scale = Vector3(1.0000004, 0.9999996, 0.9999991)
bones/40/rotation = Quaternion(0.9336719, 1.2799235e-07, 3.7337827e-08, 0.3581296)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.13802455, 0.26758966, 0.08115916, 0.9501359)
bones/41/scale = Vector3(0.99999946, 0.99999976, 0.9999996)
bones/42/position = Vector3(-1.9729964e-07, 0.56145483, 7.283501e-08)
bones/46/scale = Vector3(0.99999946, 0.99999964, 0.9999999)
bones/48/rotation = Quaternion(-2.9741386e-07, 0.13593404, 1.01778824e-07, 0.9907179)
bones/48/scale = Vector3(0.9999993, 0.9999996, 0.9999999)
bones/50/scale = Vector3(0.99999994, 0.99999994, 0.9999998)
bones/51/rotation = Quaternion(-2.5567479e-08, -0.20499781, -2.3086146e-08, 0.9787625)
bones/51/scale = Vector3(0.9999999, 0.99999964, 0.99999964)
bones/53/position = Vector3(-0.8199191, 0.25251284, 0.47213903)
bones/53/rotation = Quaternion(-0.5351706, 0.35860845, -0.15898216, 0.74814254)
bones/53/scale = Vector3(1, 0.99999875, 0.99999946)
bones/54/rotation = Quaternion(0.0023762286, -4.7362324e-08, -6.475868e-08, 0.9999972)
bones/55/rotation = Quaternion(-0.54963607, -0.322046, -0.22350314, 0.73772144)
bones/55/scale = Vector3(1.0000002, 1, 1.0000002)
bones/56/position = Vector3(0.0013532753, 0.57868266, 0.05537574)
bones/56/rotation = Quaternion(-0.00015348212, 0.90210384, -0.43151882, 0.0003204293)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0000004, 1.0000004, 1.0000002)
bones/62/rotation = Quaternion(-1.7092354e-08, -0.18223058, 2.6700846e-08, 0.98325586)
bones/62/scale = Vector3(1.0000002, 1.0000002, 1.0000001)
bones/64/scale = Vector3(1.0000004, 1.0000004, 1)
bones/65/rotation = Quaternion(-1.0345744e-08, -0.3796584, -4.0675246e-08, 0.9251268)
bones/65/scale = Vector3(1.0000002, 1.0000004, 1.0000004)
bones/67/rotation = Quaternion(0.7179022, -7.671307e-07, 7.885642e-07, 0.696144)
bones/67/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/68/rotation = Quaternion(0.9776482, 2.0029378e-07, 1.0460874e-06, -0.2102479)
bones/68/scale = Vector3(1.0000004, 1.0000004, 0.9999982)
bones/69/position = Vector3(-2.4645832e-08, -6.861796e-09, 7.455772e-08)
bones/69/rotation = Quaternion(-0.8315212, 2.5276703e-08, -9.3330055e-09, 0.5554931)
bones/69/scale = Vector3(1, 1.0000001, 1.0000002)
bones/70/rotation = Quaternion(0.67750055, 8.820757e-08, 7.575834e-08, 0.7355223)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9999999, 1, 0.9999999)
bones/72/rotation = Quaternion(-2.1641608e-07, -4.6565607e-10, -4.6576065e-10, 1)
bones/75/rotation = Quaternion(-0.34314692, -0.20321459, -0.2785586, 0.8737043)
bones/76/position = Vector3(1.01587794e-07, -1.5306958e-07, -4.3554866e-07)
bones/76/rotation = Quaternion(-0.51764834, -7.167482e-08, 1.7163823e-07, 0.85559356)
bones/77/rotation = Quaternion(0.93367195, 1.2110854e-07, 3.8556042e-08, 0.35812962)
bones/78/position = Vector3(0.8199172, 0.25251257, 0.47214243)
bones/78/rotation = Quaternion(0.6979164, 0.16086517, -0.15598962, 0.6802223)
bones/78/scale = Vector3(1.0000004, 0.9999997, 0.99999905)
bones/80/rotation = Quaternion(0.7179022, -7.6713064e-07, 7.885641e-07, 0.696144)
bones/80/scale = Vector3(1.0000004, 0.9999986, 0.99999994)
bones/81/rotation = Quaternion(0.97764814, 1.9846473e-07, 1.0426893e-06, -0.21024783)
bones/81/scale = Vector3(1.0000004, 1.0000002, 0.9999982)
bones/82/position = Vector3(6.103571e-08, 8.8816435e-08, -3.6955274e-09)
bones/82/rotation = Quaternion(-0.8315211, 2.3407136e-08, -1.2821512e-08, 0.5554932)
bones/82/scale = Vector3(0.99999994, 0.99999994, 1)
bones/83/rotation = Quaternion(0.6775009, -8.600083e-08, -8.977273e-08, 0.735522)
bones/83/scale = Vector3(1, 1.0000001, 1)
bones/84/scale = Vector3(0.99999994, 1.0000001, 0.9999999)
bones/85/rotation = Quaternion(2.6833732e-07, -9.313788e-10, -2.5612494e-09, 1)
bones/85/scale = Vector3(1.0000001, 1, 1.0000001)
bones/87/rotation = Quaternion(-0.5230753, 0.20132942, 0.026226493, 0.8277505)
bones/88/rotation = Quaternion(0.61967987, 0.23118778, 0.3169036, 0.679795)
bones/89/position = Vector3(2.953037e-07, 4.9207458e-08, -4.3015167e-08)
bones/89/rotation = Quaternion(-0.001144886, -2.973514e-08, 2.817069e-08, 0.9999994)
bones/90/rotation = Quaternion(0.0023764072, -4.0769752e-08, -7.0690255e-08, 0.99999726)
bones/91/position = Vector3(-0.8199192, 0.2525128, 0.47213912)
bones/91/rotation = Quaternion(-0.49266297, -0.27058598, 0.2623832, 0.78436047)
bones/91/scale = Vector3(1.0000002, 0.999999, 0.99999964)
bones/96/position = Vector3(-0.021971898, -1.2751104, 0.16484088)
bones/96/rotation = Quaternion(-0.47603267, 0.067788206, -0.035077166, 0.8761091)
bones/96/scale = Vector3(0.9999999, 0.9999999, 0.99999976)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.01993539, 0.08757691, 0.045667563)
bones/98/rotation = Quaternion(0.1475291, 0.03397043, -0.019923227, 0.9882734)
bones/98/scale = Vector3(1, 1.0000011, 1.0000023)
bones/101/position = Vector3(-0.021972047, 0.8282039, 0.0959422)
bones/101/rotation = Quaternion(0.8371564, 0.04015539, 0.06490996, 0.5416119)
bones/101/scale = Vector3(1, 1.0000066, 0.99998474)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(0.17285576, 0.72785676, 1.0822707)
bones/103/rotation = Quaternion(0.27801546, 0.0014157619, 0.015671493, 0.9604477)
bones/103/scale = Vector3(1.0000002, 1.000013, 1.0000246)
bones/104/rotation = Quaternion(0.5037003, 0.13519715, -0.093790196, 0.84806323)
bones/104/scale = Vector3(1.0000721, 1.0000457, 0.99993384)
bones/105/rotation = Quaternion(0.97757924, -0.053521663, -0.054415643, -0.19624804)
bones/105/scale = Vector3(1.0000001, 1.0000083, 1.0000036)
bones/106/position = Vector3(0.023142539, -0.54231995, -0.9607401)
bones/106/rotation = Quaternion(0.99272084, -0.08158898, -0.03307842, -0.08218607)
bones/107/rotation = Quaternion(0.903578, -0.12777254, -0.05477002, -0.4052421)
bones/107/scale = Vector3(0.9999992, 0.9999624, 1.0000123)
bones/108/position = Vector3(-1.1340098e-08, 7.923448e-07, 9.0939814e-08)
bones/108/rotation = Quaternion(0.98967296, 0.0031370325, 0.10343237, -0.09919364)
bones/110/rotation = Quaternion(9.815354e-07, 7.072085e-10, -9.586452e-08, 1)
bones/110/scale = Vector3(0.99999994, 0.99999976, 1.0000001)
bones/113/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/113/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/114/position = Vector3(-0.031743176, 0.60466695, -0.39704067)
bones/114/rotation = Quaternion(0.4176498, -0.11118397, 0.55639553, -0.70966953)
bones/114/scale = Vector3(1.0000015, 1.0000038, 1.0000079)
bones/115/rotation = Quaternion(-0.07547326, 0.02173067, -0.31477332, 0.945912)
bones/115/scale = Vector3(0.9999974, 1.0000036, 0.99999976)
bones/116/rotation = Quaternion(0.03028559, -0.3116764, -0.037417784, 0.9489682)
bones/116/scale = Vector3(1.0000005, 0.9999972, 1.0000013)
bones/119/scale = Vector3(1.0000043, 0.9999975, 0.99999744)
bones/121/rotation = Quaternion(-4.820391e-08, -0.1579088, -2.0880496e-08, 0.98745376)
bones/121/scale = Vector3(1.0000037, 0.99999774, 0.9999977)
bones/123/scale = Vector3(1.000003, 0.9999977, 0.99999917)
bones/124/rotation = Quaternion(-3.1036683e-07, 0.17317644, 6.989145e-08, 0.9848908)
bones/124/scale = Vector3(1.0000037, 0.9999978, 0.99999875)
bones/126/rotation = Quaternion(-0.5163543, -0.16816929, 0.6340875, 0.550482)
bones/126/scale = Vector3(1.0000015, 1.000007, 1.000004)
bones/127/rotation = Quaternion(-0.24332331, 0.12663932, 0.6612194, 0.6982444)
bones/127/scale = Vector3(1.0000017, 1.0000014, 1.0000097)
bones/128/position = Vector3(-0.008928956, 0.128764, -0.06877987)
bones/128/rotation = Quaternion(0.025037244, 0.39930493, -0.88358396, 0.24332726)
bones/129/rotation = Quaternion(-0.07547334, 0.021730714, -0.31477335, 0.94591194)
bones/131/rotation = Quaternion(-0.41802245, -0.28161782, 0.08442414, 0.85954714)
bones/132/rotation = Quaternion(-0.5281791, -0.34319904, -0.62196887, -0.46518382)
bones/133/rotation = Quaternion(-0.012777329, 0.011854946, 0.00015161165, 0.9998482)
bones/133/scale = Vector3(1.0423008, 1.0423008, 1.0423006)
bones/134/rotation = Quaternion(0.02152103, -3.688601e-08, -1.5255387e-07, 0.99976844)
bones/134/scale = Vector3(0.9882629, 0.9882634, 0.98826265)
bones/135/position = Vector3(-0.0317431, 0.60466677, -0.39704087)
bones/135/rotation = Quaternion(0.22344373, -0.32689255, 0.658746, -0.6397405)
bones/135/scale = Vector3(1.0000048, 1.0000036, 1.0000046)
bones/137/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/137/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/138/position = Vector3(-0.19594865, 0.65740275, -0.22511396)
bones/138/rotation = Quaternion(0.36201134, 0.22157827, -0.6475769, -0.63284683)
bones/138/scale = Vector3(1.0000019, 1.0000045, 1.0000057)
bones/139/rotation = Quaternion(-0.018797327, 0.13857716, 0.33871746, 0.9304373)
bones/139/scale = Vector3(0.9999983, 1.0000024, 0.9999992)
bones/140/rotation = Quaternion(0.09896898, 0.1986053, -0.00787212, 0.975038)
bones/140/scale = Vector3(1.0000031, 0.9999977, 0.9999988)
bones/143/scale = Vector3(1.000005, 0.99999815, 0.9999967)
bones/145/rotation = Quaternion(-1.7910523e-07, 0.10005118, -9.714451e-08, 0.9949823)
bones/145/scale = Vector3(1.0000045, 0.99999803, 0.9999968)
bones/147/scale = Vector3(1.0000035, 0.99999845, 0.9999981)
bones/148/rotation = Quaternion(2.0844507e-07, 0.011625211, 4.5709146e-07, 0.9999325)
bones/148/scale = Vector3(1.000004, 0.9999991, 0.999998)
bones/150/rotation = Quaternion(-0.51635444, 0.16816957, -0.63408744, 0.55048186)
bones/150/scale = Vector3(1.000001, 1.0000067, 1.000004)
bones/151/rotation = Quaternion(-0.24332346, -0.12663896, -0.6612195, 0.6982443)
bones/151/scale = Vector3(1.0000011, 1.0000017, 1.0000095)
bones/152/position = Vector3(0.027921734, -0.124764316, 0.07102555)
bones/152/rotation = Quaternion(-0.12973516, 0.47151387, -0.86254627, -0.12983702)
bones/153/rotation = Quaternion(-0.018797398, 0.13857722, 0.33871746, 0.9304373)
bones/155/rotation = Quaternion(-0.36541468, 0.16190512, -0.07102372, 0.91390073)
bones/155/scale = Vector3(0.99999994, 1, 0.9999998)
bones/156/rotation = Quaternion(0.68045896, -0.19169958, -0.3896983, 0.59022206)
bones/157/rotation = Quaternion(-0.01277751, -0.011854968, -0.0001513001, 0.9998481)
bones/157/scale = Vector3(1.0423003, 1.0422994, 1.0423005)
bones/158/rotation = Quaternion(0.021521209, -2.5687226e-07, -2.570953e-07, 0.9997684)
bones/158/scale = Vector3(0.9882631, 0.98826426, 0.9882618)
bones/159/position = Vector3(-0.19594839, 0.65740275, -0.2251139)
bones/159/rotation = Quaternion(0.28422734, 0.29369113, -0.68527013, -0.60279787)
bones/159/scale = Vector3(1.0000027, 1.0000043, 1.0000049)
bones/161/position = Vector3(0.07716276, 0.6410925, 0.71644557)
bones/161/rotation = Quaternion(0.75079244, 0.54212654, -0.3715475, 0.0660462)
bones/162/position = Vector3(-0.33244255, 0.70370555, 0.67530614)
bones/162/rotation = Quaternion(0.7519437, -0.5788053, 0.30500948, 0.08083551)
bones/165/position = Vector3(-1.5017577e-08, 0.26895812, -1.6243575e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(0.0034187725, -3.131728, 0.9674823)
bones/167/position = Vector3(0.209171, 5.0901713, -2.6670303)
bones/167/rotation = Quaternion(0.16656846, 0.015223213, 0.18356222, 0.9686734)
bones/167/scale = Vector3(0.9999988, 0.9999987, 1.0000023)
bones/168/position = Vector3(0.18381567, -0.9622623, 0.9894084)
bones/168/rotation = Quaternion(0.9362244, -6.2652596e-08, -0.34127164, -0.083770975)
bones/168/scale = Vector3(1.0000011, 1.0000015, 1.0000101)
bones/170/position = Vector3(0.748137, 0.69556385, 3.7252903e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(0.6322718, -2.6572587, 0.6064028)
bones/172/position = Vector3(-1.5122895, 4.4686184, -2.7014794)
bones/172/rotation = Quaternion(0.21553025, -0.03620148, 0.11066054, 0.9695311)
bones/172/scale = Vector3(0.99999887, 0.9999985, 1.0000024)
bones/173/position = Vector3(0.18381546, -0.96226203, 0.9894083)
bones/173/rotation = Quaternion(0.93622434, -2.9748788e-08, 0.34127158, -0.083771475)
bones/173/scale = Vector3(0.999999, 1.0000014, 0.99999464)
bones/175/position = Vector3(0.2542465, -2.2077389, 0.9589075)
bones/175/rotation = Quaternion(-0.008919476, -0.00021326332, -0.000697989, 0.99996)
bones/183/position = Vector3(-1.982537e-07, 5.9604563e-08, -1.517833e-08)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.57634556, 3.7607954, 0.15364014)
bones/186/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/186/scale = Vector3(0.9999997, 0.99999994, 1)
bones/187/rotation = Quaternion(0.15451065, -2.0305349e-09, -2.0850066e-09, 0.9879911)
bones/187/scale = Vector3(1.0000002, 0.99999994, 0.9999999)
bones/197/position = Vector3(-0.0011225368, -0.015787723, -0.051779967)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(-1.0407574, 3.6267605, -0.083099455)
bones/200/rotation = Quaternion(-0.9604305, -0.020206233, -0.08076539, -0.26578543)
bones/200/scale = Vector3(0.9999997, 0.99999994, 1)
bones/201/rotation = Quaternion(0.15451066, -1.9585848e-09, -2.5450761e-09, 0.9879911)
bones/201/scale = Vector3(1.0000002, 0.99999994, 0.99999994)
[editable path="bear_model"]
[editable path="bear_model/test_cube/Bear_FX"]
+5
View File
@@ -0,0 +1,5 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://blpkmyikjnhbo"]
[resource]
emission_enabled = true
emission = Color(0.4627451, 0.8117647, 0.9490196, 1)
+2 -1
View File
@@ -9,7 +9,8 @@ radius = 0.7495117
height = 1.845398 height = 1.845398
[node name="Player" type="CharacterBody3D" unique_id=165510044] [node name="Player" type="CharacterBody3D" unique_id=165510044]
collision_layer = 3 collision_layer = 2
collision_mask = 9
script = ExtResource("1_xhfnw") script = ExtResource("1_xhfnw")
[node name="CollisionBull" type="CollisionShape3D" parent="." unique_id=571780801] [node name="CollisionBull" type="CollisionShape3D" parent="." unique_id=571780801]
+3 -18
View File
@@ -78,9 +78,7 @@ const _BULL_STANDOFF: float = 1.9
@onready var _mesh: Node3D = $bear_model @onready var _mesh: Node3D = $bear_model
@onready var _hit_area: Area3D = $HitArea @onready var _hit_area: Area3D = $HitArea
var _dust: CPUParticles3D = null var _dust: CPUParticles3D = null
# Claw-slash bursts bound to the paw bones, fired one per hit of the 1-2 punch.
var _claw_l: CPUParticles3D = null
var _claw_r: CPUParticles3D = null
const RigidSkin = preload("res://rigid_skin.gd") const RigidSkin = preload("res://rigid_skin.gd")
@@ -116,7 +114,6 @@ func _ready() -> void:
_hit_area.body_entered.connect(_on_body_entered) _hit_area.body_entered.connect(_on_body_entered)
_blood_burst = preload("res://blood_burst.gd").new() _blood_burst = preload("res://blood_burst.gd").new()
add_child(_blood_burst) add_child(_blood_burst)
_dust = _make_slam_dust()
add_child(_dust) add_child(_dust)
_setup_claws() _setup_claws()
_enter_neutral() _enter_neutral()
@@ -166,8 +163,6 @@ func _clear_hit_flash() -> void:
func _setup_claws() -> void: func _setup_claws() -> void:
if _skeleton == null: if _skeleton == null:
return return
_claw_r = _attach_claw("hand_r")
_claw_l = _attach_claw("hand_l")
func _attach_claw(bone: String) -> CPUParticles3D: func _attach_claw(bone: String) -> CPUParticles3D:
@@ -395,11 +390,9 @@ func _tick_swipe(delta: float) -> void:
if _hits_done == 0 and frac >= 0.25: if _hits_done == 0 and frac >= 0.25:
_hits_done = 1 _hits_done = 1
_try_hit(DP.f("bear_swipe_reach")) _try_hit(DP.f("bear_swipe_reach"))
_claw_slash(true) # first paw (right) rakes across
elif _hits_done == 1 and frac >= 0.65: elif _hits_done == 1 and frac >= 0.65:
_hits_done = 2 _hits_done = 2
_try_hit(DP.f("bear_swipe_reach")) _try_hit(DP.f("bear_swipe_reach"))
_claw_slash(false) # back-hand with the left paw
if _phase_timer <= 0.0: if _phase_timer <= 0.0:
_begin_recover(DP.f("bear_swipe_recover")) _begin_recover(DP.f("bear_swipe_recover"))
Phase.RECOVER: Phase.RECOVER:
@@ -601,7 +594,7 @@ func _slam_dust() -> void:
_dust.restart() _dust.restart()
_dust.emitting = true _dust.emitting = true
"
# Tan ground-impact dust: a fast, wide, low burst that arcs up and settles — built in code # Tan ground-impact dust: a fast, wide, low burst that arcs up and settles — built in code
# so the Bear scene needs no extra particle node. # so the Bear scene needs no extra particle node.
func _make_slam_dust() -> CPUParticles3D: func _make_slam_dust() -> CPUParticles3D:
@@ -649,15 +642,7 @@ func _make_slam_dust() -> CPUParticles3D:
p.scale_amount_min = 0.6 p.scale_amount_min = 0.6
p.scale_amount_max = 1.4 p.scale_amount_max = 1.4
return p return p
"
# Fire the claw-slash burst on one paw for a swipe hit (right paw first, then left).
func _claw_slash(right: bool) -> void:
var claw := _claw_r if right else _claw_l
if claw == null:
return
claw.restart()
claw.emitting = true
# A short fan of pale streaks raked from a paw — thin boxes aligned to their velocity so # A short fan of pale streaks raked from a paw — thin boxes aligned to their velocity so
+9 -6
View File
@@ -3,30 +3,33 @@ extends Node3D
# Get a reference to the Bear_FX AnimationPlayer node # Get a reference to the Bear_FX AnimationPlayer node
@onready var fx_player: AnimationPlayer = $Bear_FX/AnimationPlayer @onready var fx_player: AnimationPlayer = $Bear_FX/AnimationPlayer
# Preloads the material into memory before the scene even instantiates
@onready var claw_fx_material: StandardMaterial3D = preload("res://Materials/M_bear_claw_fx.tres")
func _ready() -> void:
# Apply it instantly to a mesh as soon as the level starts
$Bear_FX/Bear_fx_claw_attack_L.material_override = claw_fx_material
$Bear_FX/Bear_fx_claw_attack_R.material_override = claw_fx_material
func bear_fx_jump_smash(): func bear_fx_jump_smash():
$Bear_FX/Bear_fx_jump_smash.visible = true $Bear_FX/Bear_fx_jump_smash.visible = true
# Play the jump smash animation when the mesh turns on
fx_player.play("Bear_fx_jump_smash") fx_player.play("Bear_fx_jump_smash")
func bear_fx_claw_attack_R(): func bear_fx_claw_attack_R():
$Bear_FX/Bear_fx_claw_attack_R.visible = true $Bear_FX/Bear_fx_claw_attack_R.visible = true
# Play the jump smash animation when the mesh turns on
fx_player.play("Bear_fx_claw_attack_R") fx_player.play("Bear_fx_claw_attack_R")
func bear_fx_claw_attack_L(): func bear_fx_claw_attack_L():
$Bear_FX/Bear_fx_claw_attack_L.visible = true $Bear_FX/Bear_fx_claw_attack_L.visible = true
# Play the jump smash animation when the mesh turns on
fx_player.play("Bear_fx_claw_attack_L") fx_player.play("Bear_fx_claw_attack_L")
func bear_fx_smash_hit(): func bear_fx_smash_hit():
$Bear_FX/Bear_fx_smash_hit.visible = true $Bear_FX/Bear_fx_smash_hit.visible = true
# Play the jump smash animation when the mesh turns on
fx_player.play("Bear_fx_smash_hit") fx_player.play("Bear_fx_smash_hit")
func mesh_off(): func mesh_off():
$Bear_FX/Bear_fx_smash_hit.visible = false $Bear_FX/Bear_fx_smash_hit.visible = false
$Bear_FX/Bear_fx_claw_attack_L.visible = false $Bear_FX/Bear_fx_claw_attack_L.visible = false
$Bear_FX/Bear_fx_claw_attack_R.visible = false $Bear_FX/Bear_fx_claw_attack_R.visible = false
$Bear_FX/Bear_fx_jump_smash.visible = false $Bear_FX/Bear_fx_jump_smash.visible = false
+1 -1
View File
@@ -202,7 +202,7 @@ func _register_all() -> void:
# close is deliberately generous — the bear commits to melee "from a bit further" and # close is deliberately generous — the bear commits to melee "from a bit further" and
# steps in during the swing (see bear_lunge_speed) rather than needing to be on top. # steps in during the swing (see bear_lunge_speed) rather than needing to be on top.
_reg_f("Bear", "bear_close_range", 5.0, 1.0, 12.0, 0.1) _reg_f("Bear", "bear_close_range", 5.0, 1.0, 12.0, 0.1)
_reg_f("Bear", "bear_mid_range", 9.0, 3.0, 20.0, 0.5) _reg_f("Bear", "bear_mid_range", 10.0, 3.0, 20.0, 0.5)
# Beat spent in NEUTRAL sizing up the bull between routines — kept short so the bear # Beat spent in NEUTRAL sizing up the bull between routines — kept short so the bear
# flows straight from one action into the next instead of pausing (raise for a more # flows straight from one action into the next instead of pausing (raise for a more
# hesitant, readable boss; near-0 for relentless pressure). Shrinks again in phase 2. # hesitant, readable boss; near-0 for relentless pressure). Shrinks again in phase 2.
+1
View File
@@ -123,6 +123,7 @@ pointing/emulate_touch_from_mouse=true
3d_physics/layer_1="world" 3d_physics/layer_1="world"
3d_physics/layer_2="bull" 3d_physics/layer_2="bull"
3d_physics/layer_3="corpse" 3d_physics/layer_3="corpse"
3d_physics/layer_4="bear_FX"
[physics] [physics]