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?
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?
I found this: https://processing.org/examples/circlecollision.html