Using SolidObjects to detect collisions