I need to have collision detection in the paddle class as well as in the orb class. I can't get the paddles to detect the orbs and reverse their direction. This has to be done in the paddle class not in the orb class. In my paddle class I have:
public void handlePaddleCollision()
{
Actor orb = getOneIntersectingObject(Orb.class)
if (orb != null) {
reverseY
}
}
I don't think the reverseY is right, but I don't know what to put to make the orb reverse its direction. Right now it just passes through the paddles. Any help??