Fix obstacle detection bug
Fix object contact bug
Add onColision funciton