How I can make a football game 2D
-
I have a player and a ball, both are circles, the player is a CharacterBody2D and the ball is a StaticBody2D, I have problems with the collision, the player touch the ball but the collision is not detected for the collision shape, sometimes yes sometimes no, what I can do to resolve it?
-
Try usibg move and collide instead of move and slide for your characterbody, otherwise tou could use an area 2d to detect the collision