29 lines
987 B
Plaintext
29 lines
987 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://wq1okogkhc5l"]
|
|
|
|
[ext_resource type="Script" uid="uid://bja6tis1vaysu" path="res://player_controller/Scripts/MantleSystem.cs" id="1_o1m1l"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4coqe"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qu4wy"]
|
|
height = 1.5
|
|
|
|
[node name="MantleSystem" type="Node3D"]
|
|
script = ExtResource("1_o1m1l")
|
|
MantleEndLocationDistanceFromWall = 0.2
|
|
MantleHeightCastStart = 3.0
|
|
|
|
[node name="MantleCast3D" type="ShapeCast3D" parent="."]
|
|
shape = SubResource("CapsuleShape3D_4coqe")
|
|
target_position = Vector3(0, 0, 0)
|
|
max_results = 1
|
|
collision_mask = 2
|
|
debug_shape_custom_color = Color(1, 0, 0, 1)
|
|
|
|
[node name="WallInFrontCast3D" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_qu4wy")
|
|
target_position = Vector3(0, 0, -1.5)
|
|
max_results = 1
|
|
collision_mask = 2
|
|
debug_shape_custom_color = Color(0.911631, 0.11884, 0.656218, 1)
|