From be782b8080d80c123e3e4984cc0d2e94d066d21b Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Sun, 29 Sep 2024 23:10:37 +0100 Subject: player: Shrink interaction area to prevent xray interaction --- prefabs/locker.tscn | 2 +- prefabs/test_arena.tscn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prefabs/locker.tscn b/prefabs/locker.tscn index ce4f5ff..f02fb43 100644 --- a/prefabs/locker.tscn +++ b/prefabs/locker.tscn @@ -6,7 +6,7 @@ size = Vector3(1, 1.5, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_a2nrx"] -size = Vector3(2, 1.5, 2) +size = Vector3(1, 1.5, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_lc36s"] size = Vector3(1, 1.5, 1) diff --git a/prefabs/test_arena.tscn b/prefabs/test_arena.tscn index f75e038..2e41f9f 100644 --- a/prefabs/test_arena.tscn +++ b/prefabs/test_arena.tscn @@ -73,7 +73,7 @@ _data = { } [sub_resource type="BoxShape3D" id="BoxShape3D_r46wa"] -size = Vector3(1.5, 2, 1.5) +size = Vector3(1, 2, 1) [node name="Node3D" type="Node3D"] script = ExtResource("1_dbsm0") @@ -117,7 +117,7 @@ collision_layer = 8 collision_mask = 8 [node name="CollisionShape3D" type="CollisionShape3D" parent="Player/PlayerCam/Area3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, -1) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, -0.9) shape = SubResource("BoxShape3D_r46wa") [node name="LevelContainer" type="Node3D" parent="."] -- cgit