hello! I was wondering if proc_mode used in the following way, would guarantee that the function would get the updated vertex positions after animation:
The loop that gets vertex positions
function vertex_capture()
{
proc_mode=PROC_LATE;
wait(1);
while(1)
{
vec_for_vertex(temp.x,me,32);
wait(1);
}
}
Entity Pseudocode:
action Entity_guy
{
vertex_capture(); //-----loop is started here
while(1)
{
ent_animate(me,NULL,0,0); //zero animation
ent_animate(me,"run",percent,ANM_CYCLE+ANM_ADD); //play animation
wait(1);
}
}
The vertex_capture is called before the animation, but with proc_late, will the vertex_capture get the updated vertex positions after the animation is run?