summaryrefslogtreecommitdiff
path: root/Scenes/Utilities.gd
diff options
context:
space:
mode:
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)