Skip to content

Releases: 23scurtu/2D_Collision_Detection

Bug Fixes

30 Apr 03:30
Compare
Choose a tag to compare
Bug Fixes Pre-release
Pre-release

Bug Fixes:

  • Fixed small bug where only concave shapes would undergo collision detection

Bug Fixes

23 Apr 05:46
Compare
Choose a tag to compare
Bug Fixes Pre-release
Pre-release

Bug Fixes:

  • Fixed two major bugs that would cause crashes and improper polygon partitioning.

2D Collision Detection

20 Apr 02:02
Compare
Choose a tag to compare
Pre-release

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.