gd: mantle end location system
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=22 format=3 uid="uid://bei4nhkf8lwdo"]
|
||||
[gd_scene load_steps=23 format=3 uid="uid://bei4nhkf8lwdo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bbbrf5ckydfna" path="res://player_controller/Scripts/PlayerController.cs" id="1_poq2x"]
|
||||
[ext_resource type="Material" uid="uid://dtq8i1ka1f2pn" path="res://player_controller/Assets/Materials/Health/CameraVignette.tres" id="2_6hee7"]
|
||||
@ -24,6 +24,8 @@ shader = ExtResource("4_jyscr")
|
||||
shader_parameter/limit = 0.0
|
||||
shader_parameter/blur = 0.0
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4coqe"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vcu7l"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
@ -185,10 +187,24 @@ target_position = Vector3(0, -0.75, 0)
|
||||
|
||||
[node name="MantleSystem" type="Node3D" parent="."]
|
||||
script = ExtResource("14_4coqe")
|
||||
MantleEndLocationDistanceFromWall = 0.2
|
||||
MantleHeightCastStart = 3.0
|
||||
|
||||
[node name="MantleCast3D" type="ShapeCast3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_4coqe")
|
||||
target_position = Vector3(0, 0, 0)
|
||||
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_4coqe")
|
||||
target_position = Vector3(0, 0, -2)
|
||||
debug_shape_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="WallInFrontRayCast3D" type="RayCast3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1.65, 0)
|
||||
target_position = Vector3(0, -1.5, 0)
|
||||
enabled = false
|
||||
target_position = Vector3(0, -2, 0)
|
||||
|
||||
[node name="StairsSystem" type="Node3D" parent="."]
|
||||
script = ExtResource("7_bmt5a")
|
||||
|
Reference in New Issue
Block a user