Skip to content

Commit

Permalink
Update player collider
Browse files Browse the repository at this point in the history
  • Loading branch information
antimundo committed Mar 28, 2024
1 parent a497499 commit 7741946
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scenes/game_world/player/player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
[ext_resource type="Script" path="res://scenes/game_world/player/player_manager.gd" id="1_txs4e"]
[ext_resource type="Script" path="res://scenes/game_world/crosshair.gd" id="2_w1fsa"]

[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_trh1v"]
points = PackedVector3Array(-0.125207, -0.532801, -0.480507, 0.0227831, 0.47607, 0.498884, 0.169713, 0.559144, 0.464172, 0.231051, -0.803591, 0.320455, 0.40741, 0.651043, -0.243523, -0.482789, 0.594843, 0.0822132, -0.362868, -0.682312, 0.289697, 0.469044, -0.654529, -0.0662713, -0.127444, 0.842701, -0.338103, -0.393435, -0.683942, -0.244717, 0.438255, 0.623309, 0.200849, 0.0841477, 0.977454, 0.114795, -0.0682023, -0.976458, -0.12927, 0.20055, -0.563129, -0.451454, -0.185527, 0.595453, -0.453475, -0.273363, 0.592268, 0.407754, -0.00693649, -0.476823, 0.49966, 0.375821, -0.588614, 0.316955, 0.111579, 0.563059, -0.481177, -0.41725, 0.527866, -0.270497, -0.484546, -0.596972, -0.0665097, -0.279747, 0.908561, 0.0533361, -0.250197, -0.880712, 0.205319, 0.263647, -0.902771, -0.127394, 0.293368, 0.871526, -0.157196, 0.373412, -0.526319, -0.328246, 0.499663, 0.476641, -0.00688856, 0.0531056, 0.875001, 0.324703, -0.154543, -0.590854, 0.465879, -0.0972799, -0.782358, -0.398188, -0.387649, -0.498171, 0.31565, -0.30068, -0.587995, -0.388901)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_itdsy"]

[sub_resource type="CapsuleMesh" id="CapsuleMesh_41626"]

Expand All @@ -15,7 +14,7 @@ script = ExtResource("1_txs4e")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("ConvexPolygonShape3D_trh1v")
shape = SubResource("CapsuleShape3D_itdsy")

[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000550747, 0.00400865, -0.000956774)
Expand Down

0 comments on commit 7741946

Please sign in to comment.