Set velocity every frame.