I took a look over your code, but could not implement it as I want.I am trying to implement Pathfinding, so basically, I want a method like the following method:void MoveTo(Model *model, D3DXVECTOR3 toPoint);The model can be character, vehicle, or anything that can move, by using this method I want the model to move and TAKECARE of walls, trees, buildings and other physical objects.