fix: dash indicator vfx works
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cqduhd4opgwvm"]
|
||||
[gd_scene load_steps=8 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"]
|
||||
|
||||
@ -10,6 +13,7 @@
|
||||
|
||||
[node name="DashSystem" type="Node3D"]
|
||||
script = ExtResource("1_hwig2")
|
||||
DashIndicatorScene = ExtResource("2_tqt6i")
|
||||
|
||||
[node name="PlayerShapeCast3D" type="ShapeCast3D" parent="."]
|
||||
shape = ExtResource("2_jngg2")
|
||||
@ -18,8 +22,8 @@ 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.68, 0)
|
||||
shape = ExtResource("2_jngg2")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
||||
shape = SubResource("SphereShape3D_jngg2")
|
||||
target_position = Vector3(0, 0, -12)
|
||||
max_results = 1
|
||||
collision_mask = 2
|
||||
@ -32,3 +36,6 @@ surface_material_override/0 = SubResource("StandardMaterial3D_v31n3")
|
||||
[node name="MantleSystem" parent="." instance=ExtResource("2_pff7b")]
|
||||
MantleEndLocationDistanceFromWall = 0.3
|
||||
MantleHeightCastStart = 2.0
|
||||
|
||||
[node name="DashIndicator" parent="." instance=ExtResource("2_tqt6i")]
|
||||
visible = false
|
||||
|
Reference in New Issue
Block a user