made pendant method treat edges as obstacles too