Unexpected bounces from tilemap

Godot Version



So, i have a tilemap with collisions and a ball that i can shoot. However, there is this wierd interaction between a ball and tilemap walls. Im guessing that is because each individual tile has its colission box, and there might be some issues between those collsiion boxes. How can i fix this?

Link to video

So what is your player script looking like? Especially the part responsible for the bounce.

1 Like

Oh, I just accidentally fixed it. Just set friction value of RigidBody2D to 0.

1 Like

Honestly I dont even have player script yet. I just use RigidBody2d with Physics Material, and bounce value is 4