Collision detection works with transformation matrices.