Rudimentary collision detection