So I’m trying to make
this ball in the screen shot will go to point A to point B with a curve
that will work at any distance
I’ve tried alot of ways researched found a few ways but dnt work
here’s my code and here’s a gif of what it does
https://gyazo.com/e0bfdc91aafe4de82b7f80c177063039
local ball = workspace.Ball
local Pos = ball.Position
local Object = workspace.BounceMain.Trigger.GoingTo.Value
local GoingToPos = Object.Position
local DistanceBetween = (Pos-GoingToPos).Magnitude
--local Middle = (Pos+GoingToPos)/2
local Direction = (Pos - GoingToPos).Unit * (DistanceBetween/4)
ball.AssemblyLinearVelocity = -Direction + Vector3.new(0,DistanceBetween/4,0)