section "collisiondetection" finished (except tile collisions)