How to make parts move forward with gravity?

I am trying to make a fishing rod but I cant make the bait move forward with curved line, its hard to explane I included some pictures and GIFs to make it easier to understand.

I want the route of the bait to move like in the picture:
image

here is some GIFs I recorded from other game:

If you’re fine with unanchored Parts (you may want to use NetworkOwnership), I suggest using the Velocity property. It’s directly affected by the workspace.Gravity property as specified in the linked api-reference.

1 Like

I tried but it did not work:

local function fire(part, startPoint, targetPoint)	
	-- Calculate how far we have to travel
	local distance = (targetPoint - startPoint).magnitude
	-- Since speed = displacement / time, our speed is:
	local speed = 10
	-- Position our part at the start, pointing to the target
	part.CFrame = CFrame.new(startPoint, targetPoint)
	-- Shoot the part
	part.Velocity = part.CFrame.lookVector * speed
end
fire(lure.Fishinglure, rodPart.Position + Vector3.new(1, 0, 1), mouseHit.p + Vector3.new(0, 5, 0))

Could you please explain how it doesn’t work correctly?

Thats what happing:robloxapp-20200919-0139533

1 Like

It seemingly doesn’t have enough velocity in order to reach the target. Currently your speed is only 10 which won’t get very far.

Using the distance, speed and time formula we can get a specific speed as mentioned by your comment:

So as an example, if we wanted it to take 2 seconds then we’d define speed like so:

local speed = distance / 2;
1 Like