What is failing to happen with the code you show? I would expect that the object will never reach its destination due to not accounting for distances less than the WalkSpeed value, which you say is 64. Where do you set that value? How is this code implemented in what you are calling the game loop?
↧