Skip to content

[GREENFOOT-783] Intersection test is not pixel-perfect for rotated objects

If you have two square actors, both rotated by the same multiple of 90 degrees (but not 0), and they overlap by a single pixel, the {{isTouching}} method fails to see an intersection.

This is the problem described on the greenfoot.org forum, here: https://www.greenfoot.org/topics/59584/0

 


Issue metadata

  • Issue type: Bug
  • Priority: Medium
  • Fix versions: 3.5.1