support collision detect
Merge pull request #16 from calfjohn/master

support collision detect