How to bend a roblox beam through 3 parts, OR bend it through two parts Upwards relative to an Equation

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want to make a prediction for where my projectile will go

  1. What is the issue? Include screenshots / videos if possible!

The issue is information on Roblox beams happens to be very limited

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

    People don’t ask these questions, and experimenting didn’t help.

1 Like
1 Like

So this code is for one of Roblox’s Natural projectiles or whatever they are called? The ones where they launch them in a direction with a force?

1 Like

Yep, projectile motion for projectiles with an initial velocity and the only force is gravity.

1 Like

So what are launch angle and initial speed?
Ill find out the rest myself

1 Like

You can find those in the example code.

For the beam portion the only relevant one is the one function by EgoMoose beam projectile. Btw t1 is the end time of the projectile where the beam will end.

The angle is only for orienting the projectile

-- v0: initialVelocity(Vec3),   x0: initialPosition(Vec3),   t1: flightTime((+)number),   g: gravity((+)number)
function ProjectileLib.BeamProjectile(v0, x0, t1, g)