How to smoothen out a turn between 3 nodes

Hello! I am currently trying to smoothen out an turn between 3 nodes/positions, something like this


I am trying to skip point 2 and go to point 3 without it being a straight 1-3 tween and I want it to be a smoothened turn how would I do this?

I am not sure if this is the “proper” way, but I would just make multiple nodes along the curve and tween to each one using a linear easing style so it is smooth.

The issue is the system alr uses this for multiple nodes and this time, i cannot update every single one

What I would do its use Bézier curves and just modify the curve a bit to be closer to the corner point. Like so:

-- Point 1 is the first, Point 2 is the corner, Point 3 is the last.
local function lerp(a,b,i)
	return a + (b - a) * i 
end

function quadBezier(t, p0, p1, p2)
	local l1 = lerp(p0, p1, t)
	local l2 = lerp(p1, p2, t)
	local quad = lerp(l1, l2, t)
	return quad
end

local Middle = Lerp(point1,point3,.5)
local Difference = point2-Middle
local Dist = Difference.Magnitude
local Bezier = quadBezier(.5 point1,Middle+Difference.Unit*(Dist*1.25),point3)