How would I make curve trajectory

Hello. I’m trying to make curve using P1 and P2 (P = part)

I was looking at dev hub and I saw that thing I want is called ’ Quadratic Bézier curves’. Anyways in the artical there is not written how to make it 3D in roblox.

If anybody would know how please comment!

There’s already existing posts about this matter, search for something like ‘modeling a projectile’s motion’ or something similar.

1 Like

Yeah there’s already another post which explains and has more code samples if you searched under the article.

But to answer the question to make the bezier curves 3d you input the points in 3d by inputting a Vector3. The devhub article only uses 2d bezier curves with Vector2’s to make it easier to understand.

Sample script below has the curve with parts you were looking for:

1 Like