more tweaks to ledge grab, still too hard to start the ledge grab

This commit is contained in:
derek
2025-06-17 11:59:09 -05:00
parent b13a67fa31
commit 8220db9a57
5 changed files with 38 additions and 6 deletions

View File

@@ -172,6 +172,8 @@ script = ExtResource("7_2asft")
[node name="Ledge Grab" type="Node" parent="StateMachine"]
script = ExtResource("8_iwgew")
move_speed = 1.0
move_transition_speed = 10.0
[node name="On Ladder" type="Node" parent="StateMachine"]
script = ExtResource("8_vgdha")
@@ -377,8 +379,14 @@ target_position = Vector3(0, 0, 1)
[node name="WallJumpTimer" type="Timer" parent="."]
one_shot = true
[node name="LedgeLRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.2, 0.969, -0.509)
[node name="LedgeRRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, 0.969, -0.509)
[node name="ClamberMaxRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.965926, -0.258819, 0, 0.258819, 0.965926, 0, 0.968505, -0.391)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.17686, 0.00231841)
target_position = Vector3(0, 0, -1)
collision_mask = 33
@@ -389,7 +397,7 @@ collision_mask = 33
[node name="ClamberCheckRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.607088, -0.279418)
target_position = Vector3(0, 0, -1)
target_position = Vector3(0, 0, -1.5)
collision_mask = 33
hit_back_faces = false