//Так правильней. runx := round(LocX + coof*(myX - locX)); runy := round(LocY + coof*(myY - locY)); runz := round(LocZ + coof*(myZ - locZ));