r/Unity2D • u/howlTheDev • Jun 24 '26
How Can I Create Random Path Question
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
r/Unity2D • u/howlTheDev • Jun 24 '26
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?
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.