3 ms·
Moving capsule triangle collision is much more complicated but certainly doable. I would have to describe that algorithm in a blog post or by email (if you want
by webkike 10y ago
Moving capsule triangle collision is much more complicated but certainly doable. I would have to describe that algorithm in a blog post or by email (if you want to know more, feel free to shoot me an email). The basic premise that allows for simple capsule plane collisions, that the closest point on a capsule will always get closer, breaks down when the plane is bounded.
- willvarfar 10y agoPlease do do a nice blog post about it :) And blog about the collision detection in general. Not just for me, for the next hobby coder bumping into this.
- santaclaus 10y agoChrister Ericson and Gino van den Bergen both have solid and pretty accessible books on collision detection. Christer's Real Time Collision Detection, in particular, is really digestible in bits and pieces as needed for various applications (and he provides code for each example which rocks).
- webkike 10y agoReal Time Collision Detection is great, but leaves almost all capsule collisions to intuition. That was fine for me, but probably pretty unsuitable for people who aren't very good at geometric visualization.