When checking shapes collision with andengine, I usually use:
//set new position for the shape
mySecondShape.setPosition(mySecondShape.getX() + x, mySecondShape.getY() + y);
//check collision
if(myFirstShape.collidesWith(mySecondShape))
I want to know if 2 shapes will collide before setting the new position, like :
if(myFirstShape.collidesWith(mySecondShape, addToX, addToY))
does a such method exist ? Thank you for reading