Added single body and edge collision detection behavior