109 lines
6.0 KiB
Plaintext
109 lines
6.0 KiB
Plaintext
[gd_scene load_steps=15 format=3 uid="uid://gixthdjpv0dm"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://35y7v1ymebk" path="res://character/characterLargeMale.fbx" id="1_gak5b"]
|
|
[ext_resource type="Script" path="res://scripts/Character.cs" id="2_tfdpt"]
|
|
[ext_resource type="Texture2D" uid="uid://b4lyywvatdw53" path="res://character/textures/athleteMaleRed.png" id="3_3yvrs"]
|
|
[ext_resource type="Animation" uid="uid://dd2o4cxv7mlo6" path="res://character/animations/attack.res" id="4_32q3s"]
|
|
[ext_resource type="Animation" uid="uid://im3d8fdfwnln" path="res://character/animations/idle.res" id="5_17v4f"]
|
|
[ext_resource type="Animation" uid="uid://qhpka7i4whx4" path="res://character/animations/jump.res" id="6_dqw4s"]
|
|
[ext_resource type="Animation" uid="uid://bxdwd8l6m6wxh" path="res://character/animations/shoot.res" id="7_tcxy3"]
|
|
[ext_resource type="Animation" uid="uid://b4yic3bpbfgw0" path="res://character/animations/walk.res" id="8_nhh7m"]
|
|
[ext_resource type="Animation" uid="uid://dcadvwsssoeeo" path="res://character/animations/kick.res" id="9_d41i3"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_n8dk7"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t4o8u"]
|
|
albedo_texture = ExtResource("3_3yvrs")
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_x7uu5"]
|
|
animation = &"animations/idle"
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_pxph3"]
|
|
graph_offset = Vector2(-285.048, -69)
|
|
nodes/idle/node = SubResource("AnimationNodeAnimation_x7uu5")
|
|
nodes/idle/position = Vector2(100, 140)
|
|
nodes/output/position = Vector2(340, 140)
|
|
node_connections = [&"output", 0, &"idle"]
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_d4qk7"]
|
|
_data = {
|
|
"attack": ExtResource("4_32q3s"),
|
|
"idle": ExtResource("5_17v4f"),
|
|
"jump": ExtResource("6_dqw4s"),
|
|
"kick": ExtResource("9_d41i3"),
|
|
"shoot": ExtResource("7_tcxy3"),
|
|
"walk": ExtResource("8_nhh7m")
|
|
}
|
|
|
|
[node name="Character" node_paths=PackedStringArray("animationTree") instance=ExtResource("1_gak5b")]
|
|
script = ExtResource("2_tfdpt")
|
|
animationTree = NodePath("AnimationTree")
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="." index="0"]
|
|
mass = 60.0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D" index="0"]
|
|
transform = Transform3D(1.1, 0, 0, 0, 1.65, 0, 0, 0, 1.54, 0, 1.07763, 0)
|
|
shape = SubResource("CapsuleShape3D_n8dk7")
|
|
|
|
[node name="Skeleton3D" parent="RootNode/Root" index="0"]
|
|
bones/0/position = Vector3(0.00204209, -0.00318668, 0.00193205)
|
|
bones/0/rotation = Quaternion(-0.428388, -0.562568, 0.562569, 0.428388)
|
|
bones/2/rotation = Quaternion(0.0113202, 0.0407037, 0.993794, -0.102904)
|
|
bones/5/rotation = Quaternion(0.521043, 0.478031, -0.521043, 0.478032)
|
|
bones/9/position = Vector3(-0.0020752, -0.000304607, 0.00193205)
|
|
bones/9/rotation = Quaternion(-0.527626, -0.470756, 0.470756, 0.527626)
|
|
bones/11/rotation = Quaternion(0.0156759, 0.00115174, 0.994626, 0.102336)
|
|
bones/14/rotation = Quaternion(0.5, 0.5, -0.5, 0.5)
|
|
bones/16/position = Vector3(-0.00617958, -0.005867, -0.000291983)
|
|
bones/18/position = Vector3(-4.99155e-07, -0.00104, 0.0148206)
|
|
bones/18/rotation = Quaternion(-0.000957562, -0.709015, 0.705191, -0.00108359)
|
|
bones/19/position = Vector3(1.01514e-05, 0.00512704, -8.25972e-10)
|
|
bones/19/rotation = Quaternion(5.29002e-05, -0.0277724, 0.999613, 0.00144513)
|
|
bones/20/rotation = Quaternion(-0.00436648, -1.02281e-08, -1.09991e-08, 0.99999)
|
|
bones/21/rotation = Quaternion(0.0623484, -0.0448529, -0.00280481, 0.997042)
|
|
bones/22/rotation = Quaternion(0.0940942, -3.90999e-09, -2.64099e-10, 0.995563)
|
|
bones/23/rotation = Quaternion(0.0766157, -2.68545e-09, 1.05083e-09, 0.997061)
|
|
bones/24/rotation = Quaternion(-0.108831, 0.0437293, -0.0103631, 0.993044)
|
|
bones/26/rotation = Quaternion(0.597656, 0.395508, 0.565647, -0.407951)
|
|
bones/27/rotation = Quaternion(-0.359615, 0.67303, -0.240337, 0.599955)
|
|
bones/28/rotation = Quaternion(0.351215, -0.0730593, -0.07077, 0.930754)
|
|
bones/29/rotation = Quaternion(-0.0150854, 0.724359, -0.0315801, 0.688534)
|
|
bones/31/rotation = Quaternion(0.771667, 0.0466405, 0.00196556, 0.634311)
|
|
bones/32/rotation = Quaternion(0.410935, -0.0278593, 0.0125054, 0.911153)
|
|
bones/34/rotation = Quaternion(-0.213061, 0.695039, 0.358431, 0.585707)
|
|
bones/35/rotation = Quaternion(0.660648, -0.0754557, 0.119352, 0.737296)
|
|
bones/37/rotation = Quaternion(0.678187, -0.48571, 0.463529, 0.298814)
|
|
bones/38/rotation = Quaternion(0.0472979, 0.906256, 0.401212, -0.12447)
|
|
bones/39/rotation = Quaternion(-0.0678256, -0.0210801, 0.351795, 0.933378)
|
|
bones/40/rotation = Quaternion(-0.0108135, 0.109294, -0.0332856, 0.993393)
|
|
bones/42/rotation = Quaternion(-0.7474, 0.0422068, 0.00765553, 0.662988)
|
|
bones/43/rotation = Quaternion(-0.410937, -0.0278581, -0.0125049, 0.911152)
|
|
bones/45/rotation = Quaternion(-0.23102, 0.802493, -0.347127, -0.426776)
|
|
bones/46/rotation = Quaternion(-0.595143, 0.0459219, 0.310654, 0.739723)
|
|
bones/48/rotation = Quaternion(0.996598, 0.0689332, -0.00274987, 0.0451)
|
|
bones/49/rotation = Quaternion(0.34591, 0.0305003, 0.12914, 0.928837)
|
|
bones/49/scale = Vector3(1, 0.999999, 1)
|
|
bones/50/rotation = Quaternion(-0.660568, -0.159216, -0.157469, 0.716592)
|
|
bones/50/scale = Vector3(1.00002, 0.999976, 1)
|
|
bones/51/rotation = Quaternion(-0.0171481, 0.938577, -0.338939, 0.062447)
|
|
bones/53/rotation = Quaternion(0.972735, -0.0543278, -0.152305, 0.166251)
|
|
bones/53/scale = Vector3(1.00005, 1.00001, 0.999999)
|
|
bones/54/rotation = Quaternion(0.391448, 0.0105369, -0.166705, 0.904913)
|
|
bones/54/scale = Vector3(1.00001, 0.999998, 1)
|
|
bones/55/rotation = Quaternion(-0.617624, 0.218594, 0.171985, 0.735649)
|
|
bones/56/rotation = Quaternion(0.0282598, 0.953941, -0.297574, -0.0254484)
|
|
|
|
[node name="characterLargeMale" parent="RootNode/Root/Skeleton3D" index="0"]
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_t4o8u")
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
|
tree_root = SubResource("AnimationNodeBlendTree_pxph3")
|
|
anim_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="AnimationTree" index="0"]
|
|
root_node = NodePath("../..")
|
|
libraries = {
|
|
"animations": SubResource("AnimationLibrary_d4qk7")
|
|
}
|