https://github.com/codingminecraft/MarioYoutube/blob/974e2e06d458ccdfcff7bb36597d1d84479fe947/src/main/java/physics2dtmp/rigidbody/IntersectionDetector2D.java#L44 This should be rotated by `-box.getRotation()` otherwise it will be calculating the wrong value