chore: added height ray

This commit is contained in:
Sara Gerretsen 2026-05-13 19:42:10 +02:00
parent 7b12b078b3
commit 032196713f

View file

@ -364,13 +364,16 @@ func _enter() -> int:
"
[node name="Player" type="PlayerBody" unique_id=591139793]
wall_min_slide_angle = 1.0471976
floor_max_angle = 0.5235988
floor_snap_length = 0.3
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1143027860]
shape = SubResource("CapsuleShape3D_bxedw")
[node name="HeightRay" type="RayCast3D" parent="." unique_id=1763928231]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
target_position = Vector3(0, -100, 0)
[node name="PlayerModel" parent="." unique_id=1710695753 instance=ExtResource("1_eqqp1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)