How can i make a "Missile trajectory"

I do not really know how to explain it so here is an image


Basically, it just takes a vector3 position and makes a curved line to shoot the missiles, like an MLRS strike just like here
Anyone know the funny math and how i could make a part follow the trajectory?

2 Likes

RocketPropulsion was intended for this but it’s now deprecated. There isn’t a drop in replacement for it.

EgoMoose wrote a great forum post on modeling a projectile to derive a cubic bezier curve for display via Beams, but that’s a lot of math and could be hard to convert for your use case.

I use kinematic equations for my projectile motion. You can see how I use them in my EasyBullet library here.

Here’s a link to my little kinematics library I’m using above.

1 Like

i went to the rocketpropulsion documentation and at the top it says use lineforce instead. is lineforce just a replacement for rocketpropulsion?

1 Like

No, there are no drop in replacements for RocketPropulsion. You would need to use a TorqueConstraint and a VectorForce to model the RocketPropulsion. LineForce isn’t even applicable here.

1 Like