From 84768a693d4c0bca714e57da5fe25b8a5e622ed6 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 18 Nov 2026 00:51:43 +0100 Subject: 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. --- zombie.tscn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3