Well done Rick, I'm only on the basics still working on a 2d platformer. I just need to figure out how to calculate an even vector distance for a rectangular object.... I might be screwed lol

Thanks, I ended up using the standard vector calc with an x limit. Not the most mathematically correct but it did the trick.

Straight line distance vector

math.sqrt(((x1-x2)*(x1-x2)) + ((y1-y2)*(y1-y2)))

and

math.abs(x1-x2) for the x limit