Help doing calculations to make a Bezier Curve rocket

I am trying to get the distance between a set point (a tool) and the second set point (my mouse cframe) and place a block (or set vector value, kind of just a placeholder) between those at about 6 studs high, i have been troubleshooting this for a few hours and cant get it to work quite how i want. Does anyone know how i would go about doing this?

Diagram of what i want to accomplish:

P1 being the tool
P2 being the mouse location
V3 Being the vector value i am trying to calculate

1 Like

Cute diagram :slight_smile:

You can get the point halfway between the two by taking the average:

local halfway = (P1 + P2) / 2

Then you can just go 6 studs up:

local V3 = halfway + Vector3.new(0, 6, 0)

image
having an issue of it curving to the side, but it does meet in the middle

Nevermind, Fixed it
[Character limit]