Convert Vector3 to float