Dungeon keeper like tile spawning
So i'v been playing a lot of Dungeon Keeper recently and i want to make something similiar to it. Currently i need help with spawning blocks next to each other in X and Y axis infinitly. Any ideas how can i make it ? (sorry for my english and yes i am still learning ue4 )
asked Jul 07 '18 at 09:42 AM in Blueprint Scripting
There are many ways of doing it, the easiest technique for spawning separate blocks is to use the snap to grid node as described in this post:
Inverting Transform of the object and dealing with local coords is better.
If you want to spawn a platform made out of tiles, use a nested loop or a 2d grid execution macro node, see here for an example:
The above assumes you want to do it all dynamically rather than manually in the editor.
Follow this question
Once you sign in you will be able to subscribe for any updates here