Capsule shape for 2D collisions. Capsule shape for 2D collisions. Return the height of the [code]CapsuleShape2D[/code]. Return the radius of the [code]CapsuleShape2D[/code]. Set the height of the [code]CapsuleShape2D[/code]. Set the radius of the [code]CapsuleShape2D[/code]. The capsule's height. The capsules's radius.