Collide: Capsule
Capsule collider for the collide ecosystem. Dimension-generic (2D/3D/N-D).
A capsule is the convex hull of two spheres with equal radius. It also represents spheres (start == end), lines (radius == 0), and points (both).
Usage
use Collider;
use Capsule;
let capsule = new;
let sphere = sphere;
if capsule.check_collision
Features
ray— enablesCollider<Ray>for ray intersection support