Geometry Collision

This function can be used to check two geometries for collision. Various calculation methods are available which, among other things, also allow the use of a tolerance or can calculate the exact points of contact of a collision.

In this example, a cube and a sphere are checked for collision. The touch surface of the cube is automatically colored red and a sphere, also red, is placed at the touch point between the objects.