fix: correctly detecting items horizontally in front of player

This commit is contained in:
2025-05-22 17:55:48 +02:00
parent a926840570
commit b340fe21c7
3 changed files with 16 additions and 6 deletions

View File

@ -187,7 +187,8 @@ target_position = Vector3(0, -0.75, 0)
script = ExtResource("14_4coqe")
[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.5)
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)
[node name="StairsSystem" type="Node3D" parent="."]
script = ExtResource("7_bmt5a")