Error?

2011-06-05
2013-04-24
  • lassefolkersen
    lassefolkersen
    2011-06-05

    First - Thanks for a very very nice and useful page

    I found a possible typo on the page:
    http://www.euclideanspace.com/threed/animation/collisiondetect/index.htm

    It says:
    AxMin > BxMax and AxMax > BxMin
    AyMin > ByMax and AyMax > ByMin
    AzMin > BzMax and AzMax > BzMin

    Should that pehaps be:
    AxMin < BxMax and AxMax > BxMin
    AyMin < ByMax and AyMax > ByMin
    AzMin < BzMax and AzMax > BzMin

    I put this more as a question, because I'm just starting out with first collision detection myself.
    Best
    Lasse

     
  • Martin Baker
    Martin Baker
    2011-06-15

    Hi Lasse,

    Yes, I think you are correct, thanks for letting me know.

    Sorry I took so long to reply, I've been away.

    I'll fix it as soon as I can.

    Thanks again,

    Martin

     
  • Martin Baker
    Martin Baker
    2011-06-17

    I have corrected the error as you suggest and added some diagrams to the web page to illustrate this so, hopefully, I won't confuse myself in the future.

    Martin

     
  • David Walker
    David Walker
    2011-09-06

    For the matrix form of the expansion of the quaternion "sandwich" product, the Pin.z term for Pout.y is given as

    2*q.x*q.z - 2*q.w*q.x

    I think it should be

    2*q.y*q.z - 2*q.w*q.x