Miguel Casillas

Half-Space Test

The half-space test allows us to see the position of a point respective to a plane. We can determine if this point is in front of the plane, behind the plane or on the plane. This is a very useful test, as it is used in many types of collision detection functions, especially when testing […]

Point in Sphere

Calculating to see if a point is inside a sphere is a very simple task. We just need to check the distance between the center of the sphere to the point and compare it with the sphere’s radius. If this distance is less than the radius, then the point is inside the sphere. If the […]

AABB to AABB

Axis Aligned Bounding Boxes (AABBs for short) are very easy to make. They are basically non-rotated boxes. They can be made by having a max point and a min point or by having a center point and width/height/depth. For this example, I will use an AABB created with two points (min and max). The collision […]

Point in AABB

Axis Aligned Bounding Boxes (AABBs for short) are very easy to make. They are basically non-rotated boxes. They can be made by having a max point and a min point or by having a center point and width/height/depth. For this example, I will use an AABB created with two points (min and max). To check […]

Sphere to Sphere Collision

Collisions between spheres are very simple and easy to perform. An advantage that spheres have over things like AABBs (Axis-Aligned Bounding Boxes) is that it doesn’t matter if the object rotates, the sphere will remain the same. We need to calculate the distance between the centers of the spheres and compare it to the sum […]

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare