When are you calling vec_for_vertex? Before, after, or inbetween the ent_anime calls? And are you resetting the animation before?