Results 1 to 9 of 9

Thread: collision with lots-o-lines

  1. #1

    Thread Starter
    Hyperactive Member notquitehere188's Avatar
    Join Date
    Dec 2004
    Posts
    403

    collision with lots-o-lines

    i have an object moving diagonally, it basically teleports because of how fast it is going.
    I need to be able to find out if, and at the exact point it would hit another object if it were actually moving
    so far what i have is that it would cross the axis lines of the object but would hit at the last one it crossed (assuming that if one dosent cross you make sure it is already colliding) i need to be able to find the order it crosses all of these axis lines

    I am also VERY open to suggestions about other ways to do this but it is hard and i suck at math
    It's not just Good, It's Good enough!



    Spelling Eludes Me

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: collision with lots-o-lines

    polygon hit testing...

    http://support.microsoft.com/kb/q121960/

    This is one of my favorite articles, it is a great way to detect intersecting lines, doesn't rely on cumbersome region objects and is very fast.
    I don't live here any more.

  3. #3
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: collision with lots-o-lines

    Quote Originally Posted by wossname
    polygon hit testing...

    http://support.microsoft.com/kb/q121960/

    This is one of my favorite articles, it is a great way to detect intersecting lines, doesn't rely on cumbersome region objects and is very fast.
    Hehehe.,...did you open it in FF?





    Love the way microsofts pages looks in FF some times...



    BTW this looks like it is for 2D...was that what you wanted?


    ØØ

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: collision with lots-o-lines

    Blimey, no i'm on IE today. They won't let us install anything worth having (FF for example).
    I don't live here any more.

  5. #5

    Thread Starter
    Hyperactive Member notquitehere188's Avatar
    Join Date
    Dec 2004
    Posts
    403

    Re: collision with lots-o-lines

    i would just like to say

    yaggaduhwuhuh

    translation
    i have no idea what that article is talking about
    It's not just Good, It's Good enough!



    Spelling Eludes Me

  6. #6

    Thread Starter
    Hyperactive Member notquitehere188's Avatar
    Join Date
    Dec 2004
    Posts
    403

    Re: collision with lots-o-lines

    anyway, i am going to go with a bad code that uses y = mx + b because i suck at programming (have only been doing it since september)
    It's not just Good, It's Good enough!



    Spelling Eludes Me

  7. #7
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: collision with lots-o-lines

    Quote Originally Posted by notquitehere188
    i would just like to say

    yaggaduhwuhuh

    translation
    i have no idea what that article is talking about
    Reading the words actually helps with that problem. If you can get it to display properly that is! no problem in IE though (for a change)
    I don't live here any more.

  8. #8
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: collision with lots-o-lines

    Quote Originally Posted by wossname
    no problem in IE though (for a change)

    I bet MS did that on purpose.......the same with their DX mailing list...

  9. #9

    Thread Starter
    Hyperactive Member notquitehere188's Avatar
    Join Date
    Dec 2004
    Posts
    403

    Re: collision with lots-o-lines

    Reading the words actually helps with that problem. If you can get it to display properly that is! no problem in IE though (for a change)
    I did, it didnt help, im not the most intelligent of people
    It's not just Good, It's Good enough!



    Spelling Eludes Me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width