summaryrefslogtreecommitdiff
path: root/Scenes/Utilities.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
commit516d22c1737a9c94026b5ff0c9856bc5549aa416 (patch)
treecd9ef3089d1c8bdfc440b5673f7ad0d0dce787a9 /Scenes/Utilities.gd
parentd192b1546ab39180cdc28d2621c117539e3d26d6 (diff)
update
Diffstat (limited to 'Scenes/Utilities.gd')
-rw-r--r--Scenes/Utilities.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Scenes/Utilities.gd b/Scenes/Utilities.gd
index bcdfe7e..f2dabe6 100644
--- a/Scenes/Utilities.gd
+++ b/Scenes/Utilities.gd
@@ -150,6 +150,10 @@ class Collision:
elif shape is CapsuleShape2D:
shape.set_height(shape.get_height() + 1)
shape.set_radius(shape.get_radius() + 1)
+ elif shape is CircleShape2D:
+ shape.set_radius(shape.get_radius() + 1)
+ else:
+ print("collision shape type not implemented for " + str(shape))
collision_shape.set_shape(shape)