Quantcast
Channel: Questions in topic: "curved path"
Viewing all articles
Browse latest Browse all 116

I can't figure out the correct formula of t (bezier curve)

$
0
0
As in the title, I can figure out the formula of ***float T***. The idea is that the camera follows the target and is always parallel to it, but also want the camera respects the curve. I know T is **→** `float t = something / curveLength` but I don't know the ***something*** ![alt text][1] I have the *position* of **P1**, **P2**, **Tan** (Green circle), **Camera** and **followTarget** (Orange diamond). ![alt text][2] Also can follow with complex forms. [1]: /storage/temp/184432-captura-de-pantalla-2021-08-05-182637.png [2]: /storage/temp/184433-imagen-2021-08-05-192315.png

Viewing all articles
Browse latest Browse all 116

Trending Articles