Collision Detection

Static Sphere vs AABB

Tweet Although this problem might seem hard at first, it’s really rather simple: just take the point closest to the sphere’s center within the box (which is as simple as clamping the sphere’s center to the limits of the box), then see how far this point is away from the sphere’s center. If this distance …

View page »

Static Sphere vs Sphere

Tweet To detect whether two spheres are intersecting, you can simply calculate the distance of the sphere’s centers and if this is less than the combined radii of the spheres, the spheres are intersecting each other. Normally, to calculate the distance between two points, the square root has to be taken. A small optimization you …

View page »

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please copy the string I53DvZ to the field below:

Social Widgets powered by AB-WebLog.com.