summaryrefslogtreecommitdiffhomepage
path: root/README.mdown
diff options
context:
space:
mode:
authortradam <git.tradam.fyi>2021-08-16 11:31:37 -0400
committertradam <git.tradam.fyi>2021-08-16 11:31:37 -0400
commit30c2e72d5b5558120f67a3b395d06b87c4afc7d9 (patch)
treead385ad09a94240a4e81530a7b50bf8e6e2e2fa8 /README.mdown
parent421bf2111fbae45dfc61cac6d5c73a51696b132d (diff)
downloadarbitrary-polygon-collision-30c2e72d5b5558120f67a3b395d06b87c4afc7d9.tar.gz
arbitrary-polygon-collision-30c2e72d5b5558120f67a3b395d06b87c4afc7d9.zip
.
Diffstat (limited to 'README.mdown')
-rw-r--r--README.mdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.mdown b/README.mdown
index 3f49e86..26024b5 100644
--- a/README.mdown
+++ b/README.mdown
@@ -1,7 +1,7 @@
# hints and notes for Debugging
- Shape A for some reason is not understood by the hitbox detection correctly
As can be seen with the debug lines, one of the lines is drawn diagnal when it instead should of been drawn online one of the edges. The other line has been determined to be of length 0 so it is as if the points are swapped. Despite both shapes using what appear to be essentially the same code only one of the two shapes are in error. If the a and b shapes are swapped then the issue switches shapes(from a to b) so the issue doesnt appear to be with declaring the shapes but rather something in the hitbox logic.
-- Because of this strange diagnal, it seems that the shapes collision is not correctly determined(try moving the shape just outside the lower left corner of the square and you can see it detects a collision where there is none)
+- (Maybe??) because of this strange diagnal, it seems that the shapes collision is not correctly determined(try moving the shape just outside the lower left corner of the square and you can see it detects a collision where there is none)
# Links for the math
see the comments at the top of `run.rb` for links that explain the math