Going a certain distance along the line then stopping

Hey all,

I am trying to implement something where the player moves to a point in a certain amount of time, stopping at each interval (basically turn based), however, I can’t figure out a good way to do this. I was thinking if I knew the complete distance of the path, I could stop it at certain intervals, but I am unsure how to do this. Right now, I just have it getting to the next vector in vectorPath, but if I want it to take longer, I’m not sure the best way. Please help!

Thanks,
-knudsjef

Hi

Sorry about the late reply.
Is this a grid-based game? In that case it might be better to consider the number of nodes instead of the actual world length of the path.