Make firepath as a random path?

How to make missle or magic skill’s path to a random path?

Like warhammer2 40000-chaos rising’s chaos sorcerer’s chaos bolt skill,

if character fire to target, it does not go directly to target, but slightly follow a randomly spread out path.

But eventually going to target.

I want to make that more cool than just go linearly.

How to script method to make this?

You can use a script to make the project go to the target (there are many examples in the forum) and apply a Perlin Noise to the trajectory as the projectile flies. You can find Perlin Noise in the Procedural Examples Unity Tutorial Projects | Unity Essentials | Unity Asset Store

Very thanks!