i'm a game developer who's not that good at math and i need to calculate the trajectory of a grenade in various different ways:
first, having an origin, end point and a force, i will have to calculate the angle at which the projectile will have to go starting from the origin to reach the end point, and it's okay if it can't reach it fully, but it will have to respect the force.
after that, I have a "beam" which is actually a bezier curve, and I have to modify what I can (attachments and curve sizes) to match the trajectory of the part which is re-calculated. Check the image for more information on how it works.