Circle vs Rectangle Collision Detection

preview_player
Показать описание
Files used in this video can be found in this github repository

Timestamps
0:00 - Method #1(Sides and Corners Collision)
14:41 -Method #2(Clamping Method)

In this tutorial, I expect viewers to have an understanding about rectangle vs rectangle collision, AABB(Axis Aligned Bounding Box) and circle vs point collision.

The algorithms that are used in this tutorial only work for axis-aligned rectangle or a rectangle that is not rotated.
Рекомендации по теме
Комментарии
Автор

What is the mathematical formula for checking collision between circle and rectangle?

jhanolaer