Add geometry for simple collision detection
Opened this issue · 0 comments
ChristianGreiner commented
At the moment Duality supports only a rectangle to detect an AABB collision.
Some geometry stuff to implement:
- Line2D
- Circle
- Polygon
Collision detection:
- Line-Line
- Line-Circle
- Line-Rec
- Line-Point
- Line-Polygon
- Circle-Circle
- Circle-Rec
- Circle-Point
- Circle-Polygon
- Rec-Polygon