Making entity travel to direction

Hey guise, how do i make ball travel from its current position to a vector (100,100,0 on a flat map for example)?

Something like this would work:
[lua]local vec = Vector(100, 100, 0)
local pos = ball:GetPos()
local dir = vec - pos
ball:GetPhysicsObject():ApplyForceCenter(dir)[/lua]