Releases: 23scurtu/2D_Collision_Detection
Releases · 23scurtu/2D_Collision_Detection
Bug Fixes
Bug Fixes:
- Fixed small bug where only concave shapes would undergo collision detection
Bug Fixes
Bug Fixes:
- Fixed two major bugs that would cause crashes and improper polygon partitioning.
2D Collision Detection
Most of this release is built to test the new class I am creating to detect polygon collisions. A large part of the program is the convex polygon partitioning. Does not support complex polygons yet.
Controls:
Left Mouse Button: Add a point to the polygon (Must add points in a clockwise manner)
Right Mouse Button: Get screen coordinates
A: Rotate clockwise
D: Rotate counter-clockwise
Up: Translate Up
Down: Translate Down
Left: Translate Left
Right: Translate Right
Note: There is currently a bug that causes the game to crash with some specific shapes. Due to this there is text that appears in the associated cmd window during runtime that is being used for debugging.