local target = vci.assets.GetTransform("target") local mover = vci.assets.GetTransform("mover") local velocity = Vector3.zero local prevTime = os.time() function update() local time = os.time() local deltaTime = time - prevTime; prevTime = time local position position, velocity = Vector3.SmoothDamp(mover.GetPosition(), target.GetPosition(), velocity, 1.0, math.huge, deltaTime) mover.SetPosition(position) end