I am attempting to write a 2D game with collision detection for two moving objects (one player controlled and the other in one direction) using Rectangle2D's intersects() method. When the non-player controlled piece is not moving the method works fine, however when I implement the move() method the intersects() method seems to fail. Is there a known problem with this method and 2 moving objects?
I am trying not to post the code because it is recycled from a tetris game I made in my first Java class (it is really, really messy >.<)
If you need more info let me know, any help would be greatly appreciated,
Thanks in advance!