Collision detection between a Capsule and a Line Segment and a Capsule and a Capsule. Prerequisite: Linear Algebra (Vectors, Matrices, Dot Product, Cross Product ...