4 ms·
Indeed, and physics engines in games often have to deal with capsules, convex hulls and per-poly collision as well, not just spheres, planes and boxes. Not to
by nineteen999 6y ago
Indeed, and physics engines in games often have to deal with capsules, convex hulls and per-poly collision as well, not just spheres, planes and boxes.
Not to discount the effort involved here though; it's pretty impressive, I know I couldn't write this without a lot of mental effort.
- Animats 6y agoCollision detection is well understood now, and quite fast for any convex shape. Look up "GJK algorithm". It's collision response that's hard.
- sgillen 6y agoWell understood but still very complex to implement well I think. Most of the novel physics engine type things I see in the robotics space use bullet under the hood for detection, even as they implement their own constrain solver / whatever else.