added continuous collision checking; not completely verified yet