summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-11-18 00:51:43 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-11-18 00:51:43 +0100
commit84768a693d4c0bca714e57da5fe25b8a5e622ed6 (patch)
treeb1b2ef031539a06462e2610cbb096d2684875c1c
parenta6f6a7e1ddbd2a9c3e1e6d8e82d18da74f786650 (diff)
downloadnj26-84768a693d4c0bca714e57da5fe25b8a5e622ed6.tar.gz
zombie.tscn: Make CollisionShape thinner
Zombie animations do not really take the entire width of their textures. In other words, they leave empty, transparent pixels on both edges. Therefore, making the CollisionShape thinner avoids players from colliding against transparent pixels.
-rw-r--r--zombie.tscn2
1 files changed, 1 insertions, 1 deletions
diff --git a/zombie.tscn b/zombie.tscn
index e356525..5182b06 100644
--- a/zombie.tscn
+++ b/zombie.tscn
@@ -10,7 +10,7 @@ size = Vector2( 2, 4 )
flags_transparent = true
[sub_resource type="BoxShape" id=3]
-extents = Vector3( 1, 2, 0.2 )
+extents = Vector3( 0.7, 2, 0.2 )
[sub_resource type="CapsuleMesh" id=4]