more tweaks to ledge grab, still too hard to start the ledge grab
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user