velocity and gravity attached to object