Infinite Random Floating Islands Generator

I did this. Here’s a level from my game:

Only 7 of the islands are made by hand ( the ones you actually land on ), all the rest are randomly chosen and placed.

It is also possible to make randomly generated islands good enough to walk on. It really depends on your needs.

What I did in this case, was to make ( by hand ), 5 different variations of island for the distance. I then used blueprint to place them all over the sky around the ‘real’ ones.

The whole thing revolves around making a random unit vector and multiplying it by a random float in the range ‘far enough away’ → ‘not too far away’.

If you’re interested in the setup, I’ll can drop a bit of code in…

1 Like