Collision partly implemented.