The quadtree now stores objects in several leaf nodes (opposed to being stored in a branchnode) if it cannot be fully contained within a node. Collisiondetection is working.