So you guys … this LCP stuffs makes my head spinning :’(
So I told myself - let’s see maybe I’m able to recode it (even if I won’t succeed, it will probably very much help me understand it) … I looked in that paper (sig94) explaining the algorithm (there’s a link in the physics resources thread)… it looked quite possible…at least the frictionless case.
So I coded it and now it fairly works, there’s still a problem with my Gauss-Algorithm part (in cases where there is not exactly one result - it gives me NaN’s then)
Even if I’m able to finish it, also with friction, I don’t know if it’ll always works, because it somewhere said, that it is designed for non interpenetrating bodies, but they’ll ofcourse do, so I don’t know if this also have to get handled by the LCP, or if it’s done at a different part.
Ohh yeah - one very good thing about my implementation - I followed very close that paper, so even the names of the functions is the same. So if one day I decide to put it on the cvs, I believe it’ll be pretty easy to understand with the paper lying next to it