How to go about making circles with collisions?

I want to make a projectile that is a sphere in a 2d game I am creating. I want to make it have a hitbox, is there a way to do it where the hitbox is smooth, rather than being a bunch of smaller rectangles?

1 Like

I found this: https://processing.org/examples/circlecollision.html

2 Likes

See also:

2 Likes