Implement gravity and velocity vector.