fixed speed and collision detection