add collide basic and fix scaleFactor