collison from top with obstacle now working good