I'm trying to create a replica of asteroids using Javascript where there are elements that are moving across the screen using the animate function and also a stationary object that is supposed to dodge them. I have tried using isBBoxIntersect() and a timer to detect if the objects are colliding however it always returns false. Is there a better way to detect object collision using raphael?