Collision detection trough deconstruction of articulated objects