Storing of position and velocity.