[gd_scene load_steps=16 format=2] [ext_resource path="res://assets/moon_buggy/Beetle IX.glb" type="PackedScene" id=1] [ext_resource path="res://scripts/Beetle IX.gd" type="Script" id=2] [sub_resource type="AnimationNodeAdd2" id=1] filter_enabled = true filters = [ "Armature/Skeleton:Back Wheel.L", "Armature/Skeleton:Back Wheel.R", "Armature/Skeleton:Front Wheel.L", "Armature/Skeleton:Front Wheel.R", "Armature/Skeleton:Middle Wheel.L", "Armature/Skeleton:Middle Wheel.R" ] [sub_resource type="AnimationNodeAnimation" id=2] animation = "Wheel Turn-loop" [sub_resource type="AnimationNodeAnimation" id=3] animation = "Driving-loop" [sub_resource type="AnimationNodeBlendTree" id=4] nodes/Add2/node = SubResource( 1 ) nodes/Add2/position = Vector2( 546.667, 80 ) nodes/Animation/node = SubResource( 3 ) nodes/Animation/position = Vector2( 213.333, 66.6667 ) "nodes/Animation 2/node" = SubResource( 2 ) "nodes/Animation 2/position" = Vector2( 160, 200 ) nodes/output/position = Vector2( 813.333, 133.333 ) node_connections = [ "Add2", 0, "Animation", "Add2", 1, "Animation 2", "output", 0, "Add2" ] [sub_resource type="AnimationNodeAnimation" id=5] animation = "Idle-loop" [sub_resource type="AnimationNodeAnimation" id=6] animation = "Reset" [sub_resource type="AnimationNodeAnimation" id=7] animation = "Startup" [sub_resource type="AnimationNodeStateMachineTransition" id=8] [sub_resource type="AnimationNodeStateMachineTransition" id=9] [sub_resource type="AnimationNodeStateMachineTransition" id=10] xfade_time = 1.3 [sub_resource type="AnimationNodeStateMachineTransition" id=11] xfade_time = 0.1 [sub_resource type="AnimationNodeStateMachine" id=12] states/driving/node = SubResource( 4 ) states/driving/position = Vector2( 647.667, 97.6173 ) states/idle/node = SubResource( 5 ) states/idle/position = Vector2( 284.333, 83.8258 ) states/reset/node = SubResource( 6 ) states/reset/position = Vector2( 171, 180.523 ) states/startup/node = SubResource( 7 ) states/startup/position = Vector2( 457.667, 34.9054 ) transitions = [ "reset", "idle", SubResource( 8 ), "idle", "startup", SubResource( 9 ), "startup", "driving", SubResource( 10 ), "driving", "idle", SubResource( 11 ) ] start_node = "reset" graph_offset = Vector2( -163, -60 ) [sub_resource type="AnimationNodeStateMachinePlayback" id=13] [node name="Beetle IX" instance=ExtResource( 1 )] script = ExtResource( 2 ) [node name="AnimationTree" type="AnimationTree" parent="." index="2"] tree_root = SubResource( 12 ) anim_player = NodePath("../AnimationPlayer") active = true parameters/playback = SubResource( 13 ) parameters/driving/Add2/add_amount = 1.0