A 2D capsule shape used for physics collision.
A 2D capsule shape, intended for use in physics. Usually used to provide a shape for a CollisionShape2D.
Performance: CapsuleShape2D is fast to check collisions against, but it is slower than RectangleShape2D and CircleShape2D.
The capsule's height, excluding the semicircles. This is the height of the central rectangular part in the middle of the capsule, and is the distance between the centers of the two semicircles. This is a wrapper for height.