How do I get the position of a point that's a certain percentage of the way between two other positions?

If I have two positions, how do I get the position of a point in-between them, that’s a certain percentage of the way in-between them?

I’ve tried doing some CFrame math, along with trying out :ToWorldSpace(), and I also tried doing something with lerping, though I couldn’t get any of my solutions to work. Unfortunately, as good as I think I am with CFrames/XYZ, it’s still pretty difficult for me at times. I’ve also tried searching around the Wiki and the DevForums for a solution, but to no avail.

I feel like the solution is a lot simpler than I’m making it, and I’m really overthinking this. Anyone have any ideas?

Figured it out! I looked a little bit more into lerping and realized that it is actually pretty easy. The Wiki literally has a page for this exact problem that I somehow missed. I’ll post my solution for any other travelers trying to figure out this problem.

local percentageBetweenParts = .85

local part = Instance.new(‘Part’)
part.Parent = game.Workspace
part.Anchored = true
part.Position = part1.Position:Lerp(part2.Position, percentageBetweenParts)