99 lines
3.4 KiB
Plaintext
99 lines
3.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://wq1okogkhc5l"]
|
|
|
|
[ext_resource type="Script" uid="uid://bja6tis1vaysu" path="res://systems/mantle/MantleSystem.cs" id="1_2oobp"]
|
|
[ext_resource type="Shape3D" uid="uid://dp2p8v7demb5j" path="res://systems/mantle/find_wall_shape.tres" id="2_i32qj"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4coqe"]
|
|
height = 1.7
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_2oobp"]
|
|
radius = 0.75
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_i32qj"]
|
|
radius = 0.125
|
|
|
|
[node name="MantleSystem" type="Node3D"]
|
|
script = ExtResource("1_2oobp")
|
|
MantleEndLocationDistanceFromWall = 0.2
|
|
MantleHeightCastStart = 3.0
|
|
|
|
[node name="MantleCast3D" type="ShapeCast3D" parent="."]
|
|
visible = false
|
|
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)
|
|
visible = false
|
|
shape = SubResource("SphereShape3D_2oobp")
|
|
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)
|
|
|
|
[node name="InAirWallDetect" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.26, 0)
|
|
shape = ExtResource("2_i32qj")
|
|
target_position = Vector3(0, 0, -2)
|
|
collision_mask = 2
|
|
|
|
[node name="GroundedWallDetect" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.76, 0)
|
|
shape = ExtResource("2_i32qj")
|
|
target_position = Vector3(0, 0, -2)
|
|
collision_mask = 2
|
|
|
|
[node name="WallProfileShapeCasts" type="Node3D" parent="."]
|
|
|
|
[node name="ShapeCast1" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -0.5)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast2" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -0.75)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast3" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -1)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast4" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -1.25)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast5" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -1.5)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast6" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -1.75)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|
|
|
|
[node name="ShapeCast7" type="ShapeCast3D" parent="WallProfileShapeCasts"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -2)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_i32qj")
|
|
target_position = Vector3(0, -2.375, 0)
|
|
collision_mask = 2
|