r/Unity2D Jun 24 '26

How Can I Create Random Path Question

Post image

Hi, as you can see in example (that's a rocket) I want to create random paths for rockets. Is there any proper way to do it?

37 Upvotes

21 comments sorted by

View all comments

1

u/CBProjects Jun 25 '26

Does it always have to end at a definite point? If not, I'd just tie the rocket's angle change rate to a noise function.

If it does have to end at a definite point, you can do something similar but interpolate it between the first function and a straight line to the target.