42 lines
1.9 KiB
Plaintext
42 lines
1.9 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://dycbdcrwsm6wu"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://blgpm2l7pjv3c" path="res://experimente/felox/policerobot.gltf" id="1_owk8q"]
|
|
[ext_resource type="Script" path="res://experimente/felox/player.gd" id="2_t64b8"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jdpq0"]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7g8sn"]
|
|
animation = &"walk"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_yeox8"]
|
|
animation = &"idle"
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_5u74v"]
|
|
|
|
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_4ktf5"]
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_g5r8j"]
|
|
nodes/Animation/node = SubResource("AnimationNodeAnimation_yeox8")
|
|
nodes/Animation/position = Vector2(500, 80)
|
|
"nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_7g8sn")
|
|
"nodes/Animation 2/position" = Vector2(500, 280)
|
|
nodes/idle_walk_blend/node = SubResource("AnimationNodeBlend2_5u74v")
|
|
nodes/idle_walk_blend/position = Vector2(960, 60)
|
|
nodes/output/position = Vector2(1180, 140)
|
|
nodes/walk_timescale/node = SubResource("AnimationNodeTimeScale_4ktf5")
|
|
nodes/walk_timescale/position = Vector2(780, 320)
|
|
node_connections = [&"idle_walk_blend", 0, &"Animation", &"idle_walk_blend", 1, &"walk_timescale", &"output", 0, &"idle_walk_blend", &"walk_timescale", 0, &"Animation 2"]
|
|
|
|
[node name="player" instance=ExtResource("1_owk8q")]
|
|
script = ExtResource("2_t64b8")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="2"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_jdpq0")
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="3"]
|
|
tree_root = SubResource("AnimationNodeBlendTree_g5r8j")
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
parameters/idle_walk_blend/blend_amount = 0.0
|
|
parameters/walk_timescale/scale = 1.0
|