Skip to main content
GameDev.net gamedev.net
🔒 Locked

Math question

Started by gandolf1212 Jun 2, 2003 at 1:45 PM 1 replies 900+ views
Original Post
gandolf1212
gandolf1212
Well, i''m trying to figure out a little bounce formula but i need help. If i have 2 lines, and want to see if they overlap, how would I do that? I was hoping for some formula I could do with thier endpoints but I just can''t get it. If anyone knows it would really help me out. Thanks
I think there's to much blood in my caffeine system.
ToohrVyk
ToohrVyk
Check if both endpoints lie on the same side of the other line or not, for each line?

ToohrVyk

gandolf1212
gandolf1212
Great idea ToohrVyk, that should work. I think i can get it from here.
I think there's to much blood in my caffeine system.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.