Setup collision detection