-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collision for parallel line to line #14
Comments
Since the parallel never intersects, because the slope of each is infinity or zero, the other question is when are perpendicular, when the angular coefficient of one of them is infinity. Yes, and the formula is hard to understand |
@getdbjs – nope, you're right. I assumed that was a really unlikely case (since the lines would have to have the exact same start/end points for that to be the case which, with floats, is not going to happen very often) but can def add it. @Lin-Rolover – thanks for clarifying. Would parallel and perpendicular be useful to add? (I suppose perpendicular is really just one kind of collision.) |
I noticed that the collision is not detected between two parallel lines
The text was updated successfully, but these errors were encountered: