added aabb detection. Added rope joint