Have bug,need tick some times to around the obstacle