Multiple collision shapes for one objects

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Can İnal

Hello everyone,

I’m new to game dev and Godot. I’ve been making a simple Pong game but I’m having issues with the collision. Here’s what I have done.

The problem is when player tries to hit the ball with edge, the ball sorta gets stuck and loses momentum.

Is there a better way to create irregular collision boxes?

:bust_in_silhouette: Reply From: kidscancode

Try using CollisionPolygon2D. This can all be just one shape.