XNA move from start position to target position exactly in 3D

Posted by robasaurus on Game Development See other posts from Game Development or by robasaurus
Published on 2012-10-14T18:57:28Z Indexed on 2012/10/14 21:52 UTC
Read the original article Hit count: 229

Filed under:
|

If I have a list of positions that map out a path a character should follow. What would be the best way to move at a constant speed to each position making sure the character lands exactly at each position before moving onto the next?

For example the character is at position A, we then queue up position B and position C. The character cannot move towards position C until it reaches position B exactly.

It would be great if the solution worked at slower frame rates/update speeds as well.

© Game Development or respective owner

Related posts about XNA

Related posts about movement