Hi there!
I just got into UE4 with the aim of generating synthetic images to train my neural network.
The goal of the neural network is to predict the stability of a block tower consisting of cuboids under various configurations that are stuck together.
A simple example of what I’m referring to can be found in the image of Tetris pointed to by this link: https://upload.wikimedia.org/wikipedia/commons/3/39/Tetrominoes_IJLO_STZ_Worlds.svg
, where the red tetrimino can be seen as an “upper stick” stuck on top of a “base stick”. If the upper stick is heavier than the base stick to a certain extent, the who tetrimino will tilt to the right and topple, otherwise it will not.
In reality it is a pushover to make a tower of this nature simply with glue, but obviously it is not an option in Unreal and I’m having difficulty simulating it. So, I’m asking if there is a way in Unreal to stick several cuboids together as if they were glued together, so that all the objects form a block tower and their respective physical properties remain unchanged? This way, when I hit PLAY, I can see whether the block tower will topple.
P.S. It would be really helpful if the suggested approach could be implemented in a script, because I need a huge number of randomly formed block towers to be generated automatically, and I’m planning on controlling it with Python.
N.B. This is my undergraduate final year project, and time is running out, so swift answers will be really really really appreciated!!!