Hey, just a little question:
why does this not work?
withCode:if x<>xto then x += velocity*( (xto-x)/AbsR(xto-x));
CheersCode:Function AbsR(x:real):real; begin if x<0 then Result := -x; end;
PS: btw, is tht how u return a value for a function?
Bookmarks