I can't exactly figure out how you would curve a projectile with body velocity, rather than CFrame. I tried using this article as well as the wiki's article on Bezier Curves but I wasn't able to figure it out. Any help or tips appreciated!
(Ideally the part would curve some amount between the start and target, rather than just being linear)
My pathetic attempt :
local curveForce = Vector3.new(0,-10,0)
local BodyVelocity = script.Parent
local Part = BodyVelocity.Parent
local start = Part.Position
local target = Vector3.new(10,3,10)
local v0 = (target - start - .5*curveForce)
for i = 1,100 do
curveForce = Vector3.new(0,i,0)
v0 = (target - start - .5*curveForce)
script.Parent.Parent.Velocity = v0
wait()
end
