How do I make model move correctly

	for _, waypoints in ipairs(path:GetWaypoints()) do

		local targetPosition = waypoints.Position  -- Access the Position property

		
		
		dummy:PivotTo(CFrame.new(targetPosition))

		
		local EndPoint = CFrame.new(targetPosition)

		local StartPoint = dummy:GetBoundingBox()

		for i = 0, 1, 1/60 do
			
			dummy:PivotTo(StartPoint:Lerp(EndPoint, i))
			
			
			RS.Heartbeat:Wait()

		end
		
		
	end

How do I make it move to the point move smoothly instead jumping?

This looks like some AI made malarkey. Skipping the research is always not a good thing …
pathfinding

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.