RaycastTest: moved directional raycast testing into separate function used by both left and right. begun to implement minDistToObject and tooCloseToObject. begun to implement target for raycast test (instead of forward direction). still have issues with final algorithm