Posted by **Ariel** on Monday, November 12, 2007 at 6:32am.

Posted by Ariel on Saturday, November 10, 2007 at 4:33pm.

So I need a function (parameters: origin x, origin y, destination x, destination y, object x1, object y1, object x2, object y2). The object in this case would be a wall with two points (x1, y1, x2, y2). The function needs to return a true/false if the wall intersects the path. As in, does it cross between the origin and destination. In other words, we have two finite lines (path of movement and wall), and I need to know if they cross.

How do I do that?

I program in basic (small basic) but I would rather if you wouldn't add code, just plain english.

Thanks in advance!

## Answer this Question

## Related Questions

- Algorithm/Function - So I need a function (parameters: origin x, origin y, ...
- physics - At the instant the displacement of a 2.00 kg object relative to the ...
- physics - our objects are situated along the y axis as follows: a 1.94 kg ...
- Physics - A coordinate system (in meters) is constructed on the surface of a ...
- Physics - A coordinate system (in meters) is constructed on the surface of a ...
- Physics - A coordinate system (in meters) is constructed on the surface of a ...
- Physics B - A coordinate system (in meters) is constructed on the surface of a ...
- Physics - A coordinate system (in meters) is constructed on the surface of a ...
- PHYYYYYSICS 7 - An object has a velocity of (0.4 x + -1.7 y) m/s at the origin ...
- OPERATING SYSTEM - Hi, I need help with these questions. I have tried to find ...

More Related Questions