forked from: Continuous Elastic Collision

