Search:

Type: Posts; User: pepzi999

Search: Search took 0.07 seconds.

  1. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    I take some bad decisions so that I can complete it in time.
  2. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    I could use this (though I already know the angle so that tan^-1 business isn't neccessary), but I took the easy way out and made a list of squares with collision detection of their own.
    ...
  3. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    I think I'll go with the easy way and check for squares at each end, the only thing that would look weird then would be if the sword is angled at around 45° and gets thrown on to a corner of a...
  4. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    http://www.youtube.com/watch?v=uNkIxzFvn1w
  5. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    Ok, is this way of cheating (not doing it from scratch) very costful?

    --- Update ---

    For some reason the first post seems vanished. However the problem is that my code acts exactly like I...
  6. [SOLVED] Re: Collision detection between vector and rectangle (MATH)

    Yes, the green boxes are only supposed to be red when the blue vector is in direct contact.

    --- Update ---

    You know what? I'll post a video
  7. [SOLVED] Collision detection between vector and rectangle (MATH)

    As of now, my code checks if either the vectors endpoints are between the rectangles y-values and if they are, it does the same for the x-values, however this is not correct, more andvanced math...
Results 1 to 7 of 8