rough version if collision mangager