CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GremlinSA

Search: Search took 0.39 seconds.

  1. Replies
    4
    Views
    30,640

    Re: Need help with object collision

    Well the basic's of this type of code is what difference is there in checking #1 to #4 and then #4 back to #1 .. .surely both collision checks should return true...

    So while IndexA is between 0...
  2. Replies
    4
    Views
    30,640

    Re: Need help with object collision

    The trick here is to check each item against the others...

    To do so one uses a nested loop...



    For IndexA = 0 to 59
    For IndexB = IndexA to 60
    'Check for collisions
    Next
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured