handling collisions outside of physics time step