Unreal Engine - Buildings geometry script

Published: 29 December 2022
on channel: Klas Kroon
9,339
270

This was a fun little exercise with geometry scripting. Trying to generate buildings from a linear spline. Was a bit trickier than I first anticipated getting the math right for the corners, etc.

It also became a bit slow in the end, I wanted to get bending/twisting in there. So I had to make windows and doors etc. a part of the geometry instead of keeping them as instances.

The cool thing with having them as splines is that it is easy to make a grid, randomly "walk" the grid and then just "connect the dots". And you can also then add some noise to the grid and get some more "organic" looking results. And generate a little city/block.


Watch video Unreal Engine - Buildings geometry script online without registration, duration hours minute second in high quality. This video was added by user Klas Kroon 29 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,339 once and liked it 270 people.