bear_ Call method track testing with spears

This commit is contained in:
2026-08-25 08:49:44 +03:00
parent 251002ea7c
commit 32d0c58f5c
9 changed files with 11671 additions and 136 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6172 -1
View File
File diff suppressed because it is too large Load Diff
+158 -128
View File
@@ -2,6 +2,8 @@
[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://jepc74w8opbu" path="res://Assets/spear.glb" id="4_bfebr"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
radius = 1.0
@@ -27,158 +29,158 @@ shape = SubResource("CapsuleShape3D_hit")
[node name="bear_model" parent="." unique_id=359217823 instance=ExtResource("2_bearglb")]
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 1596019385) index="0" unique_id=1622005156]
[node name="Skeleton3D" parent="bear_model/bear-rig" parent_id_path=PackedInt32Array(359217823, 660647381) index="0" unique_id=2009911229]
bones/1/position = Vector3(-0.011276185, 0.70064664, 0.6516155)
bones/1/rotation = Quaternion(0.62049717, 0.5337393, -0.48571983, 0.3068907)
bones/2/rotation = Quaternion(0.22357878, -0.0038946574, 0.14433223, 0.9639324)
bones/2/rotation = Quaternion(0.22357875, -0.003894657, 0.14433222, 0.9639324)
bones/2/scale = Vector3(0.9999998, 1.0000005, 0.9999991)
bones/3/rotation = Quaternion(0.13474014, 0.08329953, 0.17319752, 0.9720643)
bones/4/rotation = Quaternion(-0.057023853, 0.0681308, -0.0150407, 0.99593186)
bones/5/rotation = Quaternion(0.7001116, -0.15964863, 0.21742426, 0.6611223)
bones/6/rotation = Quaternion(0.37488043, -0.19721003, -0.10533375, 0.8997099)
bones/7/rotation = Quaternion(0.7389551, 0.5943885, -0.31614992, -0.026398774)
bones/8/rotation = Quaternion(0.63062495, -0.55159646, 0.52057236, -0.1644928)
bones/9/rotation = Quaternion(0.44075996, 9.236959e-08, 4.7548897e-07, 0.897625)
bones/3/rotation = Quaternion(0.1194308, 0.08220955, 0.1630488, 0.97590625)
bones/4/rotation = Quaternion(-0.043126784, 0.06777073, -0.0024166391, 0.9967655)
bones/5/rotation = Quaternion(0.63372654, -0.14169441, 0.1611369, 0.74320143)
bones/6/rotation = Quaternion(0.4791456, -0.16317613, -0.07424228, 0.8592329)
bones/7/rotation = Quaternion(0.7389551, 0.59438866, -0.3161499, -0.026399087)
bones/8/rotation = Quaternion(0.630625, -0.55159664, 0.52057236, -0.16449267)
bones/9/rotation = Quaternion(0.44076, 3.6400422e-08, 5.9257053e-07, 0.897625)
bones/10/rotation = Quaternion(0.4595719, -0.013739429, 0.026540374, 0.8876376)
bones/11/rotation = Quaternion(0.6561513, -0.62284267, 0.34327054, 0.25238442)
bones/12/rotation = Quaternion(0.63062704, 0.55159026, -0.52057755, -0.16448969)
bones/13/rotation = Quaternion(0.44075814, 1.051573e-06, 3.918671e-07, 0.8976259)
bones/11/rotation = Quaternion(0.6561514, -0.6228428, 0.34327012, 0.25238428)
bones/12/rotation = Quaternion(0.6306271, 0.55159026, -0.52057743, -0.16448979)
bones/13/rotation = Quaternion(0.4407581, 1.1605284e-06, 3.3732496e-07, 0.8976259)
bones/14/rotation = Quaternion(0.45957214, 0.013735943, -0.026540462, 0.88763756)
bones/15/rotation = Quaternion(0.8573967, 0.36919567, -0.358005, -0.019946957)
bones/16/rotation = Quaternion(0.17242652, 0.2481213, -0.28982434, 0.90813375)
bones/16/rotation = Quaternion(0.17242658, 0.2481213, -0.2898243, 0.9081337)
bones/17/rotation = Quaternion(-0.3510126, 0.038179394, 0.00056307804, 0.93559194)
bones/17/scale = Vector3(0.99999994, 1.0000001, 0.9999999)
bones/19/rotation = Quaternion(-4.514978e-15, 1, 7.4505806e-08, -5.523351e-07)
bones/20/rotation = Quaternion(0.97251606, 0.028002897, -0.027153278, 0.22954544)
bones/21/rotation = Quaternion(0.44859615, 0.6487053, -0.23878889, 0.5665005)
bones/22/rotation = Quaternion(-0.41318557, 0.026155785, 0.15709718, 0.8966126)
bones/22/scale = Vector3(1.0000004, 0.9999995, 0.9999994)
bones/20/rotation = Quaternion(0.9700003, 0.036115408, -0.035019934, 0.23784183)
bones/21/rotation = Quaternion(0.44215938, 0.66233116, -0.2859418, 0.53296334)
bones/22/rotation = Quaternion(-0.41320667, 0.026161566, 0.15711074, 0.8966003)
bones/22/scale = Vector3(1.0000004, 0.9999996, 0.9999995)
bones/24/rotation = Quaternion(6.628114e-12, 0.99999994, 5.2154085e-08, -0.00035543842)
bones/25/position = Vector3(2.4326072, -3.3837855, -0.23025537)
bones/25/position = Vector3(2.6199331, -3.5665786, -0.19459057)
bones/25/rotation = Quaternion(-0.47867203, 0.747741, -0.04692921, 0.457771)
bones/25/scale = Vector3(1.0000001, 15.113913, 1.0000001)
bones/26/position = Vector3(1.7145767, -4.0184073, 1.0019739)
bones/26/rotation = Quaternion(-0.5949806, 0.39195934, 0.33481503, 0.6166562)
bones/26/scale = Vector3(1, 15.113823, 0.9999999)
bones/27/position = Vector3(-0.75427777, 0.72289664, -0.29163313)
bones/27/rotation = Quaternion(0.90286976, 0.30059335, -0.30059326, -0.06413695)
bones/27/scale = Vector3(0.9999999, 30.14198, 0.99999994)
bones/28/position = Vector3(-0.7601918, -0.06713915, 1.1592182)
bones/28/rotation = Quaternion(0.88038176, 0.33456936, -0.3345695, -0.032474853)
bones/28/scale = Vector3(1, 28.438711, 1)
bones/25/scale = Vector3(1, 15.113918, 1)
bones/26/position = Vector3(1.9019027, -4.201201, 1.0376387)
bones/26/rotation = Quaternion(-0.5949806, 0.3919593, 0.33481488, 0.61665624)
bones/26/scale = Vector3(1, 15.113828, 0.9999999)
bones/27/position = Vector3(-0.7517536, 0.68114483, -0.25039434)
bones/27/rotation = Quaternion(0.8978324, 0.30726063, -0.30726057, -0.07126633)
bones/27/scale = Vector3(1.0000001, 29.86149, 1)
bones/28/position = Vector3(-0.7179733, -0.09841299, 1.1515208)
bones/28/rotation = Quaternion(0.88250536, 0.33156055, -0.3315606, -0.036325466)
bones/28/scale = Vector3(0.99999994, 27.803915, 0.99999994)
bones/30/position = Vector3(0.5108807, -0.73438936, -2.283033)
bones/30/rotation = Quaternion(-0.28081572, 0.53760934, 0.24124278, 0.7575756)
bones/30/rotation = Quaternion(-0.2808157, 0.5376093, 0.24124275, 0.7575755)
bones/30/scale = Vector3(1, 1, 0.99999994)
bones/31/position = Vector3(7.264316e-08, -1.4631647, 0.23291264)
bones/31/rotation = Quaternion(-0.023993494, 0.006994761, 0.22973175, 0.97293305)
bones/32/position = Vector3(-0.25003344, -2.5619867, -0.7230469)
bones/32/rotation = Quaternion(-0.214947, -0.12245209, -0.12377316, 0.9609805)
bones/31/rotation = Quaternion(-0.023993492, 0.0069947615, 0.22973177, 0.97293305)
bones/32/position = Vector3(-0.22094508, -2.8261437, -0.7412362)
bones/32/rotation = Quaternion(-0.21494703, -0.1224521, -0.12377317, 0.96098053)
bones/32/scale = Vector3(0.9999999, 0.9999999, 0.99999994)
bones/33/position = Vector3(7.264316e-08, -1.4631646, 0.23291264)
bones/33/rotation = Quaternion(-0.012078801, 0.003521242, 0.115651146, 0.9932102)
bones/33/rotation = Quaternion(-0.0120811025, 0.0035186098, 0.11563013, 0.9932127)
bones/33/scale = Vector3(0.9999999, 0.99999994, 1)
bones/35/position = Vector3(-4.432193e-10, -1.0594704, 4.4230877e-08)
bones/35/rotation = Quaternion(0.99321693, -0.11570205, 0.00077830965, -0.011518603)
bones/35/rotation = Quaternion(0.9932194, -0.11568156, 0.0007759058, -0.011517332)
bones/35/scale = Vector3(1.0000001, 1, 1.0000015)
bones/39/position = Vector3(0.37806138, 0.043128967, 0.76476955)
bones/39/position = Vector3(0.3243811, 0.049975842, 0.7876117)
bones/39/rotation = Quaternion(0.9250555, 0.34658426, -0.08699832, -0.12877494)
bones/39/scale = Vector3(1.0051924, 1.0051928, 1.0051908)
bones/40/rotation = Quaternion(0.25077468, -0.032999333, -0.22547989, 0.9408411)
bones/40/scale = Vector3(1.0000004, 1.0000001, 1.0000001)
bones/41/rotation = Quaternion(-0.35101265, 0.0381794, 0.00056304265, 0.9355919)
bones/41/scale = Vector3(1.0079178, 1.0079174, 1.0079173)
bones/42/position = Vector3(-2.1833648e-07, 0.5614536, -5.9156793e-08)
bones/46/scale = Vector3(0.9943337, 0.9943329, 0.9943333)
bones/48/rotation = Quaternion(-8.850295e-08, 0.01972107, -4.573968e-08, 0.99980557)
bones/42/position = Vector3(-2.0953797e-07, 0.56145364, -7.852174e-08)
bones/46/scale = Vector3(0.99433374, 0.99433285, 0.99433327)
bones/48/rotation = Quaternion(-9.5873204e-08, 0.019435486, -4.733447e-08, 0.9998112)
bones/48/scale = Vector3(1.0011258, 1.0011251, 1.0011256)
bones/50/scale = Vector3(0.9948342, 0.99483407, 0.9948342)
bones/51/rotation = Quaternion(-8.3291866e-08, -0.17161012, 1.5660237e-07, 0.98516494)
bones/51/scale = Vector3(0.99483436, 0.9948343, 0.9948343)
bones/53/position = Vector3(-0.7785365, 0.16734318, 0.34005332)
bones/53/rotation = Quaternion(0.6725991, 0.18900514, 0.7029476, 0.13323753)
bones/53/scale = Vector3(0.9969696, 0.9969687, 0.9969702)
bones/54/rotation = Quaternion(0.478037, 0.015131921, 0.17245027, 0.8611113)
bones/50/scale = Vector3(0.99483424, 0.994834, 0.9948341)
bones/51/rotation = Quaternion(-6.0992505e-08, -0.17161012, 1.1688166e-07, 0.98516494)
bones/51/scale = Vector3(0.9948343, 0.9948342, 0.9948342)
bones/53/position = Vector3(-0.80161256, 0.20889719, 0.34718326)
bones/53/rotation = Quaternion(0.6652619, 0.20274492, 0.7067972, 0.12945609)
bones/53/scale = Vector3(0.99696964, 0.9969686, 0.9969701)
bones/54/rotation = Quaternion(0.5064101, 0.03525786, 0.14440782, 0.84938335)
bones/54/scale = Vector3(0.9991686, 0.9991687, 0.99916905)
bones/55/rotation = Quaternion(-0.41318527, 0.026155692, 0.1570972, 0.8966127)
bones/55/rotation = Quaternion(-0.41318527, 0.026155699, 0.15709719, 0.8966127)
bones/55/scale = Vector3(0.99761695, 0.9976165, 0.9976174)
bones/56/position = Vector3(-6.2648127e-07, 0.5614519, -3.4663838e-08)
bones/56/position = Vector3(-3.7772259e-07, 0.5614521, 1.4861064e-07)
bones/57/rotation = Quaternion(0.70073944, -0.70073956, -0.094679825, -0.09467953)
bones/60/scale = Vector3(1.0038735, 1.0038735, 1.0038731)
bones/62/rotation = Quaternion(4.0868926e-08, 0.013789383, 3.5295624e-09, 0.99990493)
bones/62/scale = Vector3(1.0007457, 1.0007452, 1.0007457)
bones/62/rotation = Quaternion(1.364816e-08, 0.013789408, 7.3838278e-09, 0.99990493)
bones/62/scale = Vector3(1.0007455, 1.0007452, 1.0007457)
bones/64/scale = Vector3(1.003039, 1.003039, 1.003039)
bones/65/rotation = Quaternion(6.414779e-08, -0.42843458, -6.0940386e-09, 0.90357286)
bones/65/scale = Vector3(1.0030389, 1.0030391, 1.0030388)
bones/67/rotation = Quaternion(0.7179022, -7.604701e-07, 8.1583465e-07, 0.696144)
bones/65/rotation = Quaternion(-1.45596815e-08, -0.4295056, 3.220421e-08, 0.90306425)
bones/65/scale = Vector3(1.0030389, 1.0030391, 1.0030389)
bones/67/rotation = Quaternion(0.7179022, -7.6046996e-07, 8.1583465e-07, 0.696144)
bones/67/scale = Vector3(1.0000001, 0.9999984, 0.99999946)
bones/68/rotation = Quaternion(0.97764814, 2.1239097e-07, 1.0479746e-06, -0.21024784)
bones/68/scale = Vector3(1, 0.9999998, 0.9999979)
bones/69/position = Vector3(-0.44185507, 0.07057374, -0.35283503)
bones/69/rotation = Quaternion(-0.06859392, -0.15792339, -0.32054567, 0.9314535)
bones/69/scale = Vector3(1.0051926, 1.005193, 1.0051928)
bones/69/position = Vector3(-0.49553528, 0.054941773, -0.37084323)
bones/69/rotation = Quaternion(-0.06859386, -0.15792336, -0.3205457, 0.93145347)
bones/69/scale = Vector3(1.005138, 1.0051384, 1.0051382)
bones/70/rotation = Quaternion(0.25077465, -0.032999337, -0.22547993, 0.94084114)
bones/70/scale = Vector3(1, 1, 1)
bones/71/scale = Vector3(0.9943336, 0.9943333, 0.9943328)
bones/71/scale = Vector3(0.99439293, 0.99439263, 0.9943921)
bones/72/rotation = Quaternion(0.3174573, 0.029278785, 0.024509901, 0.9475035)
bones/72/scale = Vector3(1.0136615, 1.0136617, 1.0136616)
bones/72/scale = Vector3(1.013643, 1.0136433, 1.0136431)
bones/75/rotation = Quaternion(0.08193297, 0.41303712, 0.56617504, 0.7086135)
bones/76/position = Vector3(-0.054427292, 0.43559253, -0.13005513)
bones/76/rotation = Quaternion(-0.26878712, 0.0070589413, -0.019940736, 0.9629674)
bones/77/rotation = Quaternion(0.63032305, 8.781694e-08, 7.887059e-08, 0.776333)
bones/78/position = Vector3(0.3780614, 0.043128967, 0.7647695)
bones/76/position = Vector3(-0.054427307, 0.4355925, -0.13005508)
bones/76/rotation = Quaternion(-0.26878712, 0.0070589446, -0.019940743, 0.96296734)
bones/77/rotation = Quaternion(0.63032305, 8.9011394e-08, 7.882156e-08, 0.776333)
bones/78/position = Vector3(0.32438114, 0.049975812, 0.7876118)
bones/78/rotation = Quaternion(0.8573968, 0.36919555, -0.358005, -0.01994611)
bones/78/scale = Vector3(0.9999986, 0.9999999, 0.9999994)
bones/80/rotation = Quaternion(0.7179022, -7.6047e-07, 8.158347e-07, 0.696144)
bones/80/scale = Vector3(1.0000001, 0.9999984, 0.99999946)
bones/81/rotation = Quaternion(0.6204978, 0.53373945, -0.48571905, -0.30689028)
bones/81/scale = Vector3(0.99999857, 0.9999982, 1.0000008)
bones/82/position = Vector3(-0.047179166, 0.15446466, 0.018103218)
bones/82/rotation = Quaternion(-0.75608194, 0.633754, 0.09070275, 0.1359012)
bones/82/scale = Vector3(0.99697024, 0.9969703, 0.99697)
bones/83/rotation = Quaternion(0.47803694, 0.015131906, 0.1724503, 0.86111134)
bones/83/scale = Vector3(0.9991686, 0.9991687, 0.99916893)
bones/84/scale = Vector3(1.0038736, 1.0038732, 1.0038736)
bones/85/rotation = Quaternion(0.24462412, -0.07875068, 0.13842654, 0.9564494)
bones/85/scale = Vector3(0.9937676, 0.99376744, 0.99376833)
bones/82/position = Vector3(-0.008268773, 0.12959604, 0.031430196)
bones/82/rotation = Quaternion(-0.76021224, 0.6303805, 0.075243026, 0.13797252)
bones/82/scale = Vector3(0.9969855, 0.9969855, 0.99698526)
bones/83/rotation = Quaternion(0.5064101, 0.035257865, 0.14440781, 0.8493833)
bones/83/scale = Vector3(0.99917275, 0.99917287, 0.99917316)
bones/84/scale = Vector3(1.0038062, 1.0038059, 1.0038061)
bones/85/rotation = Quaternion(0.24462411, -0.07875067, 0.13842654, 0.95644945)
bones/85/scale = Vector3(0.9938331, 0.99383295, 0.99383384)
bones/87/rotation = Quaternion(-2.9976945e-08, 3.070455e-08, -7.383328e-10, 1)
bones/88/rotation = Quaternion(0.44351134, 0.13871786, 0.1901492, 0.8648112)
bones/89/position = Vector3(0.039037157, 0.4945779, -0.124472104)
bones/89/rotation = Quaternion(-0.29321292, -0.0054437863, 0.0149607165, 0.95591456)
bones/90/rotation = Quaternion(0.6724244, -9.1513186e-08, -8.203441e-08, 0.7401659)
bones/91/position = Vector3(-0.7785366, 0.16734318, 0.34005326)
bones/91/rotation = Quaternion(0.9725161, 0.028002825, -0.027153268, 0.22954538)
bones/91/scale = Vector3(1.0000001, 0.9999986, 0.9999993)
bones/96/position = Vector3(-0.12501672, -2.0125756, -0.24506718)
bones/89/position = Vector3(0.039037235, 0.49457783, -0.12447221)
bones/89/rotation = Quaternion(-0.29321292, -0.005443776, 0.014960707, 0.95591456)
bones/90/rotation = Quaternion(0.6724243, -9.094621e-08, -8.380629e-08, 0.74016595)
bones/91/position = Vector3(-0.8016126, 0.2088972, 0.3471832)
bones/91/rotation = Quaternion(0.9700004, 0.036115333, -0.035019934, 0.23784165)
bones/91/scale = Vector3(1, 0.99999857, 0.99999934)
bones/96/position = Vector3(-0.1104725, -2.1446543, -0.25416175)
bones/96/rotation = Quaternion(-0.10853753, -0.061832134, -0.062499218, 0.99019706)
bones/96/scale = Vector3(0.9999998, 0.9999999, 1)
bones/97/rotation = Quaternion(0.997074, -1.2813135e-07, 1.666339e-06, -0.07644201)
bones/98/position = Vector3(0.06373607, -0.26609015, -0.2482357)
bones/98/rotation = Quaternion(-0.0481169, -0.030616313, -0.08787625, 0.99449754)
bones/98/scale = Vector3(1, 0.99999976, 1.0000029)
bones/101/position = Vector3(-0.1250181, 1.6195359, 0.38863873)
bones/101/rotation = Quaternion(0.979003, 0.057589542, -0.06642713, 0.18391319)
bones/101/scale = Vector3(0.9999999, 0.9999995, 0.9999922)
bones/98/position = Vector3(0.049907442, -0.3304265, -0.2584506)
bones/98/rotation = Quaternion(-0.048116893, -0.03061631, -0.087876245, 0.9944975)
bones/98/scale = Vector3(0.99999994, 0.99999976, 1.0000027)
bones/101/position = Vector3(-0.11047386, 1.7514571, 0.3774932)
bones/101/rotation = Quaternion(0.97900295, 0.057589542, -0.06642713, 0.18391317)
bones/101/scale = Vector3(0.9999997, 0.99999964, 0.9999922)
bones/102/rotation = Quaternion(0.95545256, -6.924111e-08, 2.2887033e-07, -0.29514462)
bones/103/position = Vector3(-1.7865223e-07, 0.6068802, -6.486087e-08)
bones/103/rotation = Quaternion(0.70011073, -0.1596481, 0.21742587, 0.661123)
bones/103/scale = Vector3(1.4610653, 0.46846336, 1.4610716)
bones/104/rotation = Quaternion(0.3779607, -0.13762444, -0.22592181, 0.88722306)
bones/104/scale = Vector3(0.9663621, 1.5662374, 1.4514438)
bones/105/rotation = Quaternion(0.97812074, -0.041465633, 0.07752428, 0.18854864)
bones/105/scale = Vector3(1.0000001, 1.000001, 1.000011)
bones/106/position = Vector3(4.564815e-08, -4.9258972e-08, 7.259949e-08)
bones/106/rotation = Quaternion(0.8306058, 0.020961767, 0.013529819, -0.55630165)
bones/103/position = Vector3(-1.6085207e-07, 0.6068802, -1.8588281e-08)
bones/103/rotation = Quaternion(0.6337255, -0.14169408, 0.16113813, 0.74320215)
bones/103/scale = Vector3(1.4124808, 0.501693, 1.4124867)
bones/104/rotation = Quaternion(0.44840196, -0.11107393, -0.18191914, 0.868046)
bones/104/scale = Vector3(0.88613355, 1.2216078, 1.6423882)
bones/105/rotation = Quaternion(0.9781207, -0.041465633, 0.07752428, 0.18854865)
bones/105/scale = Vector3(1.0000004, 1.0000007, 1.000011)
bones/106/position = Vector3(4.167844e-08, -1.7277799e-08, 6.570393e-08)
bones/106/rotation = Quaternion(0.8306058, 0.020961763, 0.0135298185, -0.55630165)
bones/107/rotation = Quaternion(0.88331676, 0.0047092563, 0.09724889, 0.45855436)
bones/107/scale = Vector3(0.99999875, 0.99998254, 0.99999225)
bones/108/position = Vector3(-0.072860695, 0.26989493, 0.14041016)
bones/107/scale = Vector3(0.99999833, 0.9999822, 0.9999929)
bones/108/position = Vector3(-0.06201902, 0.22973396, 0.11951706)
bones/108/rotation = Quaternion(0.25877732, 0.079745464, 0.006371629, -0.9626186)
bones/110/rotation = Quaternion(0.40400097, 2.4729735e-07, 0.21646988, 0.8887767)
bones/110/scale = Vector3(1.4610566, 0.46845126, 1.4610618)
bones/110/rotation = Quaternion(0.30644754, 9.4191456e-08, 0.16419901, 0.9376186)
bones/110/scale = Vector3(1.4124761, 0.50167674, 1.4124829)
bones/113/position = Vector3(0.08179821, 0.64012206, 0.7106584)
bones/113/rotation = Quaternion(0.73895496, 0.5943879, -0.31615168, -0.026399748)
bones/114/position = Vector3(0.085958235, 0.6463287, -0.3208743)
bones/114/rotation = Quaternion(0.63062626, -0.5515939, 0.5205741, -0.16449128)
bones/114/scale = Vector3(1.0000011, 1.0000087, 1.0000027)
bones/114/rotation = Quaternion(0.6306262, -0.55159384, 0.52057415, -0.16449136)
bones/114/scale = Vector3(1.0000014, 1.0000086, 1.0000027)
bones/115/rotation = Quaternion(0.44075927, 8.569679e-07, 1.7838939e-06, 0.8976253)
bones/115/scale = Vector3(1, 1.0000006, 0.99999964)
bones/116/rotation = Quaternion(0.4595723, -0.013738099, 0.026539894, 0.88763744)
@@ -187,29 +189,29 @@ bones/119/scale = Vector3(1, 0.9999994, 1)
bones/121/rotation = Quaternion(1.3399519e-07, -0.0072782817, 3.6413743e-07, 0.99997354)
bones/121/scale = Vector3(1.0000004, 0.9999999, 1.0000001)
bones/123/scale = Vector3(1, 0.99999934, 1.0000002)
bones/124/rotation = Quaternion(4.7116262e-07, -3.4389168e-07, 5.406325e-07, 1)
bones/124/rotation = Quaternion(3.6774796e-07, 0.00025544927, 3.9913428e-07, 1)
bones/124/scale = Vector3(1.0000007, 0.9999999, 1.0000005)
bones/126/rotation = Quaternion(-0.5163545, -0.16816927, 0.63408804, 0.55048114)
bones/126/scale = Vector3(1.0000011, 1.0000077, 1.0000031)
bones/127/rotation = Quaternion(-0.24332264, 0.12663992, 0.6612189, 0.69824505)
bones/127/scale = Vector3(1.0000008, 1.0000017, 1.0000101)
bones/126/rotation = Quaternion(-0.5163546, -0.16816927, 0.63408804, 0.55048114)
bones/126/scale = Vector3(1.0000014, 1.0000076, 1.0000031)
bones/127/rotation = Quaternion(-0.24332266, 0.12663986, 0.6612188, 0.698245)
bones/127/scale = Vector3(1.0000012, 1.0000014, 1.0000101)
bones/128/position = Vector3(1.2201835e-07, -1.6687729e-07, -4.6032937e-07)
bones/128/rotation = Quaternion(0.030342689, 0.9079659, -0.41790017, -0.0060587544)
bones/129/rotation = Quaternion(0.4407593, 8.6490104e-07, 1.7816766e-06, 0.8976254)
bones/131/rotation = Quaternion(4.1924068e-08, 1.9429717e-07, 1.2689271e-08, 1)
bones/132/rotation = Quaternion(-0.24223083, 0.91991895, 0.22842509, -0.20711215)
bones/132/rotation = Quaternion(-0.23435695, 0.92391634, 0.22642788, -0.20046422)
bones/133/rotation = Quaternion(-0.01277928, 0.011854907, 0.00015162211, 0.99984807)
bones/133/scale = Vector3(1.0422984, 1.0422984, 1.0422987)
bones/134/rotation = Quaternion(0.02152413, -3.6400184e-08, -1.6333018e-07, 0.9997683)
bones/134/scale = Vector3(0.9882635, 0.9882647, 0.98826295)
bones/135/position = Vector3(0.08595794, 0.64632845, -0.32087448)
bones/135/rotation = Quaternion(0.6306265, -0.5515941, 0.5205732, -0.16449264)
bones/135/scale = Vector3(1.0000011, 1.0000087, 1.0000029)
bones/135/rotation = Quaternion(0.63062644, -0.55159414, 0.5205732, -0.16449262)
bones/135/scale = Vector3(1.0000013, 1.0000085, 1.0000029)
bones/137/position = Vector3(-0.09762837, 0.6401221, 0.7106583)
bones/137/rotation = Quaternion(0.6561494, -0.622843, 0.34327078, 0.2523881)
bones/138/position = Vector3(-0.0859582, 0.6463286, -0.32087475)
bones/138/rotation = Quaternion(0.6306278, 0.55159324, -0.5205729, -0.1644913)
bones/138/scale = Vector3(1.0000015, 1.0000092, 1.0000012)
bones/138/rotation = Quaternion(0.6306278, 0.5515932, -0.5205729, -0.16449136)
bones/138/scale = Vector3(1.0000019, 1.0000091, 1.000001)
bones/139/rotation = Quaternion(0.4407591, -3.4814389e-07, -1.03124165e-07, 0.89762545)
bones/139/scale = Vector3(1, 0.99999976, 0.9999998)
bones/140/rotation = Quaternion(0.45957243, 0.013736126, -0.026540399, 0.8876375)
@@ -218,49 +220,49 @@ bones/143/scale = Vector3(1, 1, 1)
bones/145/rotation = Quaternion(5.0729373e-08, 0.0072765825, -4.1256794e-08, 0.99997354)
bones/145/scale = Vector3(0.9999999, 1.0000005, 1.0000001)
bones/147/scale = Vector3(1, 1, 0.99999994)
bones/148/rotation = Quaternion(1.7936608e-07, -7.93487e-07, 6.4447556e-07, 1)
bones/148/rotation = Quaternion(5.4211718e-08, -8.672477e-07, 7.0730863e-07, 1)
bones/148/scale = Vector3(1.0000004, 1.0000005, 1.0000002)
bones/150/rotation = Quaternion(-0.51635325, 0.16817087, -0.6340871, 0.5504829)
bones/150/scale = Vector3(1.0000019, 1.0000056, 1.0000039)
bones/151/rotation = Quaternion(-0.24332199, -0.12664054, -0.6612204, 0.6982437)
bones/151/scale = Vector3(1.000002, 1.0000052, 1.0000048)
bones/150/rotation = Quaternion(-0.5163531, 0.16817094, -0.6340871, 0.5504831)
bones/150/scale = Vector3(1.0000023, 1.0000055, 1.0000038)
bones/151/rotation = Quaternion(-0.24332201, -0.12664056, -0.66122043, 0.6982436)
bones/151/scale = Vector3(1.0000024, 1.0000049, 1.0000048)
bones/152/position = Vector3(4.363781e-08, -2.3789015e-07, 2.2497844e-07)
bones/152/rotation = Quaternion(-0.030342707, 0.90796596, -0.41790006, 0.0060586696)
bones/153/rotation = Quaternion(0.44075906, -3.521662e-07, -1.0743033e-07, 0.89762545)
bones/155/rotation = Quaternion(4.3626635e-08, -1.2572855e-07, -3.725291e-09, 1)
bones/155/scale = Vector3(0.99999994, 1, 1)
bones/156/rotation = Quaternion(0.1558911, 0.9128583, 0.3542341, 0.13002272)
bones/156/rotation = Quaternion(0.15198876, 0.91224575, 0.35873094, 0.12656738)
bones/157/rotation = Quaternion(-0.012775186, -0.01185495, -0.00015134459, 0.9998482)
bones/157/scale = Vector3(1.0423026, 1.0423024, 1.0423028)
bones/158/rotation = Quaternion(0.02151796, -2.4574018e-07, -2.2789878e-07, 0.99976844)
bones/158/scale = Vector3(0.9882621, 0.9882621, 0.98826194)
bones/159/position = Vector3(-0.08595839, 0.6463287, -0.32087478)
bones/159/rotation = Quaternion(0.6306283, 0.5515926, -0.52057314, -0.1644908)
bones/159/scale = Vector3(1.0000013, 1.0000093, 1.000001)
bones/159/rotation = Quaternion(0.6306283, 0.5515925, -0.52057326, -0.16449074)
bones/159/scale = Vector3(1.0000017, 1.0000092, 1.0000007)
bones/161/position = Vector3(0.08179821, 0.64012206, 0.7106584)
bones/161/rotation = Quaternion(0.73895496, 0.5943879, -0.31615168, -0.026399748)
bones/162/position = Vector3(-0.09762837, 0.6401221, 0.7106583)
bones/162/rotation = Quaternion(0.6561494, -0.622843, 0.34327078, 0.2523881)
bones/165/position = Vector3(-1.4634861e-08, 3.2673963e-08, -1.4856683e-08)
bones/165/rotation = Quaternion(-0.019247467, -0.20323175, 0.97894067, -0.0012537595)
bones/166/position = Vector3(-0.91864717, 0.9500702, 0.3129194)
bones/167/position = Vector3(1.5045576, -0.9314873, 2.6426725)
bones/166/position = Vector3(-1.1014371, 1.1185331, 0.39243144)
bones/167/position = Vector3(1.6918837, -0.8958225, 2.8254657)
bones/167/rotation = Quaternion(-0.8718939, 0.44212455, -0.034823332, 0.20764044)
bones/167/scale = Vector3(0.9999994, 0.9999986, 1.0000018)
bones/167/scale = Vector3(0.99999917, 0.9999989, 1.0000018)
bones/168/position = Vector3(1.58855e-07, 1.9820908e-07, -2.1131952e-07)
bones/168/rotation = Quaternion(0.93622434, -8.885473e-08, -0.34127158, -0.08377204)
bones/168/scale = Vector3(1.0000012, 1.0000007, 1.0000107)
bones/168/rotation = Quaternion(0.93622434, -1.2761083e-07, -0.34127158, -0.08377198)
bones/168/scale = Vector3(1.0000013, 1.0000005, 1.0000108)
bones/170/position = Vector3(-1.7503238e-08, 2.0180424e-09, -6.541959e-09)
bones/170/rotation = Quaternion(0.019250846, -0.20323181, 0.9789406, 0.001253055)
bones/171/position = Vector3(-1.6195335, 1.1674949, 1.3037485)
bones/172/position = Vector3(0.50176865, 0.35191035, 3.924905)
bones/172/rotation = Quaternion(-0.8566274, 0.44660613, 0.23794961, 0.10056059)
bones/172/scale = Vector3(0.9999981, 0.9999948, 1.0000072)
bones/171/position = Vector3(-1.801648, 1.3103051, 1.4275243)
bones/172/position = Vector3(0.6890947, 0.38757515, 4.1076984)
bones/172/rotation = Quaternion(-0.85662746, 0.4466062, 0.23794964, 0.100560516)
bones/172/scale = Vector3(0.9999977, 0.9999952, 1.0000072)
bones/173/position = Vector3(6.474717e-08, 6.1002005e-08, 6.765025e-08)
bones/173/rotation = Quaternion(0.9362242, -2.0374932e-06, 0.3412717, -0.08377266)
bones/173/scale = Vector3(0.9999982, 1.0000044, 0.9999928)
bones/173/rotation = Quaternion(0.9362242, -2.0929106e-06, 0.3412717, -0.08377263)
bones/173/scale = Vector3(0.9999984, 1.0000039, 0.9999928)
bones/175/position = Vector3(0.1772452, 1.0395148, 4.902764)
bones/175/rotation = Quaternion(0.89129823, -0.0011921097, -0.015988218, 0.45313406)
bones/175/rotation = Quaternion(0.8912982, -0.0011921095, -0.015988216, 0.453134)
bones/183/position = Vector3(-0.5405812, -3.1788979, -3.5437186)
bones/185/rotation = Quaternion(5.4077844e-07, -0.20349081, 0.97907686, -1.12395135e-07)
bones/186/position = Vector3(0.44880864, -0.99913526, 1.2122631)
@@ -269,7 +271,7 @@ bones/186/scale = Vector3(0.99999994, 1.0000001, 1)
bones/187/rotation = Quaternion(0.15451059, 8.45556e-09, -1.18746435e-08, 0.9879912)
bones/187/scale = Vector3(1.0000002, 1, 1)
bones/189/position = Vector3(-0.1772452, 1.0395148, 4.9027643)
bones/189/rotation = Quaternion(0.89129823, 0.0011921107, 0.015988218, 0.45313406)
bones/189/rotation = Quaternion(0.8912982, 0.0011921106, 0.015988216, 0.453134)
bones/197/position = Vector3(0.6536655, -2.9783258, -2.180401)
bones/199/rotation = Quaternion(0.00034800146, -0.20349097, 0.9790768, -7.2328476e-05)
bones/200/position = Vector3(0.51702935, 0.5265279, 1.8095579)
@@ -278,4 +280,32 @@ bones/200/scale = Vector3(0.99999994, 1.0000001, 1)
bones/201/rotation = Quaternion(0.15451062, 3.8548653e-09, -1.2594139e-08, 0.9879912)
bones/201/scale = Vector3(1.0000002, 1, 1)
[node name="test_cube" type="Node3D" parent="." unique_id=646988893]
visible = false
script = ExtResource("3_rog1v")
[node name="spear" parent="test_cube" unique_id=554922863 instance=ExtResource("4_bfebr")]
transform = Transform3D(-5.571486, 0, 0.07620315, 0, 3.5132933, 0, -0.42580298, 0, -0.9970923, -0.161, 1.545, -6.8335695)
[node name="spear2" parent="test_cube" unique_id=351643260 instance=ExtResource("4_bfebr")]
transform = Transform3D(5.5877337, 0, 0, 0, 3.5132935, 0, 0, 0, 1, -0.161, 1.545, 6.094243)
[node name="spear3" parent="test_cube" unique_id=733375742 instance=ExtResource("4_bfebr")]
transform = Transform3D(1.287574, 0, -0.9730892, 0, 3.5132933, 0, 5.4373636, 0, 0.2304287, -6.7260213, 1.545, -0.48947)
[node name="spear4" parent="test_cube" unique_id=1627345709 instance=ExtResource("4_bfebr")]
transform = Transform3D(-0.5277081, 0, 0.9955304, 0, 3.5132933, 0, -5.5627594, 0, -0.09444046, 6.5387387, 1.545, -1.2436562)
[node name="spear5" parent="test_cube" unique_id=422003007 instance=ExtResource("4_bfebr")]
transform = Transform3D(-3.5427823, 0, 0.7733096, 0, 3.5132928, 0, -4.321048, 0, -0.6340285, 4.3416, 1.545, -4.938041)
[node name="spear6" parent="test_cube" unique_id=575770474 instance=ExtResource("4_bfebr")]
transform = Transform3D(3.8617587, 0, -0.7227461, 0, 3.5132933, 0, 4.038513, 0, 0.69111365, -5.0019264, 1.545, 3.9965463)
[node name="spear7" parent="test_cube" unique_id=350644017 instance=ExtResource("4_bfebr")]
transform = Transform3D(-3.0399733, 0, -0.8390567, 0, 3.5132933, 0, 4.6884255, 0, -0.5440441, -4.7807493, 1.545, -5.298391)
[node name="spear8" parent="test_cube" unique_id=1427228629 instance=ExtResource("4_bfebr")]
transform = Transform3D(3.6557562, 0, 0.7562811, 0, 3.5132928, 0, -4.2258973, 0, 0.65424657, 4.9317927, 1.545, 3.7674346)
[editable path="bear_model"]
+8
View File
@@ -0,0 +1,8 @@
extends Node3D
func mesh_on():
visible = true
func mesh_off():
visible = false
+1
View File
@@ -0,0 +1 @@
uid://bsbed05ifr18s
+6 -6
View File
@@ -1,9 +1,9 @@
[gd_scene format=3 uid="uid://dfxigg3cr6nl5"]
[ext_resource type="PackedScene" uid="uid://bm6rmt3xprhjs" path="res://Assets/bear_level_arena.glb" id="1_beararena"]
[ext_resource type="Script" path="res://levels/bear_spawn.gd" id="2_spawn"]
[ext_resource type="PackedScene" path="res://Bear.tscn" id="3_bear"]
[ext_resource type="Script" path="res://levels/bear_hud.gd" id="4_bearhud"]
[ext_resource type="Script" uid="uid://bbtlwihtlc1wp" path="res://levels/bear_spawn.gd" id="2_spawn"]
[ext_resource type="PackedScene" uid="uid://o8ocjfprxa7u" path="res://Bear.tscn" id="3_bear"]
[ext_resource type="Script" uid="uid://dfk7dcvki7rqu" path="res://levels/bear_hud.gd" id="4_bearhud"]
[sub_resource type="BoxShape3D" id="BoxShape3D_floor"]
@@ -18,12 +18,12 @@ transform = Transform3D(30, 0, 0, 0, 1, 0, 0, 0, 30, 0, -0.5, 0)
shape = SubResource("BoxShape3D_floor")
[node name="bear_level_arena" parent="." unique_id=1529242945 instance=ExtResource("1_beararena")]
transform = Transform3D(2.875, 0, 0, 0, 2.875, 0, 0, 0, 2.875, 0, 0, 0)
transform = Transform3D(1.94, 0, 0, 0, 1.94, 0, 0, 0, 1.94, 0, 0, 0)
[node name="floor" parent="bear_level_arena/floor" parent_id_path=PackedInt32Array(1529242945, 41795043) index="0" unique_id=1653720920]
[node name="floor" parent="bear_level_arena/floor" parent_id_path=PackedInt32Array(1529242945, 294762985) index="0" unique_id=1266729531]
visible = false
[node name="wall" parent="bear_level_arena/floor" parent_id_path=PackedInt32Array(1529242945, 41795043) index="1" unique_id=2041884474]
[node name="wall" parent="bear_level_arena/floor" parent_id_path=PackedInt32Array(1529242945, 294762985) index="1" unique_id=1445338369]
visible = false
[node name="BearSpawner" type="Node3D" parent="." unique_id=47931969]
+1 -1
View File
@@ -18,7 +18,7 @@ func _spawn() -> void:
if enemy_scene == null:
return
var bear: Node3D = enemy_scene.instantiate()
bear.position = Vector3.ZERO
bear.position = Vector3(-15,0,0)
get_parent().add_child(bear)
if bear.has_signal(&"killed"):
bear.killed.connect(_on_bear_killed)