SlimeoosOdyssey/godot/Models/slime.tscn

45 lines
2.2 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://c3q6fva1c1baa"]
[ext_resource type="PackedScene" uid="uid://biuw6lh16d2qr" path="res://Models/slime.glb" id="1_jttw0"]
[ext_resource type="Script" path="res://Models/slime.gd" id="2_xo27e"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nwfvl"]
animation = &"Slime_Idle"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_avpkh"]
animation = &"Slime_Walk"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_n3s05"]
xfade_time = 0.3
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_fbi2x"]
xfade_time = 0.3
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_srcja"]
advance_mode = 2
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_prt7l"]
states/Idle/node = SubResource("AnimationNodeAnimation_nwfvl")
states/Idle/position = Vector2(570, 145)
states/Walk/node = SubResource("AnimationNodeAnimation_avpkh")
states/Walk/position = Vector2(329, 155)
transitions = ["Walk", "Idle", SubResource("AnimationNodeStateMachineTransition_n3s05"), "Idle", "Walk", SubResource("AnimationNodeStateMachineTransition_fbi2x"), "Start", "Idle", SubResource("AnimationNodeStateMachineTransition_srcja")]
[node name="slime" instance=ExtResource("1_jttw0")]
script = ExtResource("2_xo27e")
[node name="Skeleton3D" parent="Armature" index="0"]
bones/1/position = Vector3(0, 0.264857, 0)
bones/2/position = Vector3(0.028393, 0.513056, 0.0124737)
bones/2/rotation = Quaternion(-0.178538, 0.0193832, -0.211014, 0.960844)
bones/3/rotation = Quaternion(0.109512, -0.695192, 0.00400734, 0.710422)
bones/7/rotation = Quaternion(-0.347763, 2.02718e-09, 2.9685e-09, 0.937583)
bones/8/rotation = Quaternion(-0.091967, -7.45328e-10, -7.10578e-10, 0.995762)
bones/10/rotation = Quaternion(0.0144373, -4.10082e-08, -1.82391e-09, 0.999896)
bones/11/rotation = Quaternion(-0.373719, 8.36829e-08, 6.89615e-08, 0.927542)
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
tree_root = SubResource("AnimationNodeStateMachine_prt7l")
anim_player = NodePath("../AnimationPlayer")
active = true