used build in function for calculating distance between two bounds
temporary hack to fix object collision. objects collide at a constant distance