functional but buggy ball/bar collision