[gd_scene format=3 uid="uid://chrw4i0nksphn"]

[ext_resource type="Script" uid="uid://dpp8doijia0ii" path="res://docs/museums/spine/examples/11-bone-node/bone-node.gd" id="1"]
[ext_resource type="SpineSkeletonDataResource" uid="uid://cb6rn6vonqbx0" path="res://docs/museums/spine/assets/spineboy/spineboy-data-res.tres" id="2"]

[node name="Node2D" type="Node2D" unique_id=367328645]
script = ExtResource("1")

[node name="SpineSprite" type="SpineSprite" parent="." unique_id=1148185683]
skeleton_data_res = ExtResource("2")
update_mode = 1
preview_skin = "Default"
preview_animation = "hoverboard"
preview_frame = true
preview_time = 0.0
position = Vector2(13, 569)
scale = Vector2(0.278096, 0.278096)

[node name="HoverboardCenterBone" type="SpineBoneNode" parent="SpineSprite" unique_id=727054300]
bone_mode = 1
bone_name = "hoverboard-controller"
show_behind_parent = true
position = Vector2(-10.1996, -68.2213)
rotation = -0.00403465

[node name="CenterRay" type="RayCast2D" parent="SpineSprite/HoverboardCenterBone" unique_id=1808453320]
target_position = Vector2(0, 10000)

[node name="HoverboardTargetBone" type="SpineBoneNode" parent="SpineSprite" unique_id=1807276564]
bone_mode = 1
bone_name = "board-ik"
show_behind_parent = true
position = Vector2(258.903, -71.9176)
rotation = -0.000872665

[node name="TargetRay" type="RayCast2D" parent="SpineSprite/HoverboardTargetBone" unique_id=1417066321]
position = Vector2(-3.59872, 3.59277)
target_position = Vector2(0, 10000)

[node name="HipBone" type="SpineBoneNode" parent="SpineSprite" unique_id=1093270661]
bone_mode = 1
bone_name = "hip"
show_behind_parent = true
position = Vector2(-53.7338, -279.363)
rotation = -0.000872665

[node name="Polygon2D" type="Polygon2D" parent="." unique_id=877226877]
polygon = PackedVector2Array(0, 596, 309, 471, 516, 515, 762, 447, 984, 504, 1023, 505, 1024, 596)

[node name="StaticBody2D" type="StaticBody2D" parent="Polygon2D" unique_id=114416425]

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Polygon2D/StaticBody2D" unique_id=1562584718]
polygon = PackedVector2Array(3, 592, 304, 469, 516, 514, 762, 443, 984, 499, 1252, 498, 1280, 596)
