I'm making a grenade launcher and I don't know how to calculate the trajectory

Just as the title says, I want to calculate the trajectory of a grenade in a grenade launcher, knowing only the distance between the player and the target, can I have some help with this?

FastCast is a great resource for launching trajectories. I use it for guns, cannons, arrows, and more - you can quite easily customize it.

Even if you don’t want to use it, taking a look at its code base should give you a nice starting point.

Nevermind, thought sadly your answer didn’t solve my problem I found an article that solves this issue in the roblox wiki, Bézier Curves | Roblox Creator Documentation, thanks for the help tho!