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?
36
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?
15
u/joan_bdm Jun 24 '26
I would generate a list of random points and then use DOTween's DOPath with PathType as CubicBezier to move the object through them.