Throwing a ball with a parabola

Hello,

Alright so I have a script that calculates the parabola but I need the parabola to start at the HumanoidRootPart position and the end should be the raycastResult position.

Now this script kind of works cause it does calculates the path but not from the HumanoidRootPart and the raycastResult position. I think it has something to do with:
local rayDirection = Vector3.new(0, -100, 0)

Cause the parabola is being created below the Y axis.

If someone understands parabolic algorithm please help me with this!

1 Like