Another suggestion, you could try calling a function
in a for/while loop.
while(1)
{
for (k=0; k<agent_count; k++)
{
moveObj(ENTITY* ent, VECTOR pos);
}
k = 0;
wait(-0.1);
}
this is ok. calling the moveObj function i can make the entity move, but how to animate it while its moving ? tats the tricky part am not getting.
i want to do something like this: (algo):
for(all_entities)
{
while(moving from point P1 to P2 during time 0.1 seconds)
{
animate the walk
}
}