Set velocities.