Files
fps_project_1/assets/ladder_collision_check.tscn
2025-06-17 10:32:31 -05:00

25 lines
927 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://cdpxctwwi12j"]
[ext_resource type="Script" uid="uid://dgouvqodei3qu" path="res://scripts/ladder.gd" id="1_ugi45"]
[sub_resource type="BoxShape3D" id="BoxShape3D_gxu3i"]
size = Vector3(1, 10, 1)
[node name="LadderCollisionCheck" type="Area3D"]
collision_layer = 6
collision_mask = 6
script = ExtResource("1_ugi45")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0.329)
shape = SubResource("BoxShape3D_gxu3i")
[node name="CollisionMidpoint" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0)
[node name="LadderPlayerPos" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.748895)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]