support convert vector3 and vector2