Creating a parabola line in 3D Space

Hello together, i want to create a simple VR teleporter. The teleport destination point and the controller origin should get connected by parabolic line (created by a linerenderer).

What i need is an array of the points on the parabolic line and that the linerenderer takes the rotation of the controller so that it shows the correct rotation.

Here’s an example: http://d2ujflorbtfzji.cloudfront.net/key-image/ce95dddc-bef8-493b-bd3e-a872035e0c15.jpg

Trying to get this done already took me two days and it starts driving me crazy. I got the code for 2D working in like 5 mins but i can’t port it to 3D especially VR.

Any help would be awesome.

use the formula y = (max-|x|)^2

first set x as the max direction in x you want to achieve, then in every frame subtract it to the max then square it, which will be the y… after the execution, add 1(or any variable according to progress/speed)
repeat until x= -max

note that in the formula x is absolute