[gd_scene load_steps=10 format=3 uid="uid://cqduhd4opgwvm"]

[ext_resource type="Script" uid="uid://dwoppk8j5fxeg" path="res://systems/dash/DashSystem.cs" id="1_hwig2"]
[ext_resource type="Shape3D" uid="uid://keseacdcooot" path="res://player_controller/resources/PlayerShape.tres" id="2_jngg2"]
[ext_resource type="PackedScene" uid="uid://wq1okogkhc5l" path="res://systems/mantle/mantle_system.tscn" id="2_pff7b"]
[ext_resource type="PackedScene" uid="uid://hd0868f4pb63" path="res://systems/dash/dash_indicator.tscn" id="2_tqt6i"]

[sub_resource type="SphereShape3D" id="SphereShape3D_jngg2"]

[sub_resource type="SphereMesh" id="SphereMesh_qu4wy"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v31n3"]

[sub_resource type="CylinderMesh" id="CylinderMesh_jngg2"]
top_radius = 0.1
bottom_radius = 0.1
height = 1.0

[sub_resource type="TorusMesh" id="TorusMesh_tqt6i"]
inner_radius = 0.1
outer_radius = 0.5

[node name="DashSystem" type="Node3D"]
script = ExtResource("1_hwig2")
DashIndicatorScene = ExtResource("2_tqt6i")

[node name="PlayerShapeCast3D" type="ShapeCast3D" parent="."]
visible = false
shape = ExtResource("2_jngg2")
target_position = Vector3(0, 0, 0)
collision_mask = 2
debug_shape_custom_color = Color(0.863327, 0.636844, 0, 1)

[node name="DashCast3D" type="ShapeCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
shape = SubResource("SphereShape3D_jngg2")
target_position = Vector3(0, 0, -12)
max_results = 1
collision_mask = 2
debug_shape_custom_color = Color(0.911631, 0.11884, 0.656218, 1)

[node name="DashCastDrop" type="ShapeCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 1.6, 0)
shape = SubResource("SphereShape3D_jngg2")
target_position = Vector3(0, 0, -50)
max_results = 1
collision_mask = 2
debug_shape_custom_color = Color(0.911631, 0.11884, 0.656218, 1)

[node name="DashTarget" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_qu4wy")
surface_material_override/0 = SubResource("StandardMaterial3D_v31n3")

[node name="MantleSystem" parent="." instance=ExtResource("2_pff7b")]
MantleEndLocationDistanceFromWall = 0.25
MantleHeightCastStart = 2.0

[node name="DashIndicator" parent="." instance=ExtResource("2_tqt6i")]
visible = false

[node name="DashDropIndicator" type="MeshInstance3D" parent="."]
mesh = SubResource("CylinderMesh_jngg2")

[node name="DashDropLocationIndicator" type="MeshInstance3D" parent="."]
mesh = SubResource("TorusMesh_tqt6i")
