#Pixel collision is 'too perfect' on round surface

3 messages · Page 1 of 1 (latest)

left hound
#

Hey guys, I'm trying to create a clone of the game Haxball. My problem is that the pixels are 'grabbing' each other instead of smoothly rolling over the round surface, as in the gifs below:

The player is KinematicBody2D, and the ball is RigidBody2D, both have generated CollisionPolygon2D from the sprites. No matter how many polygons I set up for collisions, it still happens like the gif above.

Is there any way to make round surface completely smooth?

balmy flare
#

Why not use a CollisionShape2D with a circle shape instead?

left hound
#

I've tried using CollisionShape2D, but the effect is still very similar, it's not perfectly round either