added directional collision boolean