Like a topic name. The best answer would be a function to spawn brushes during the game. I know the answer from:
but I am still not convinced. I want to test it myself. Also, one would consider creating complicated objects with brushes in editor (like fractal-like structures), which is obviously not possible without scripting.
I have found it, and it took me (only) two days. To be honest it’s not that hard, but unnecessary complicated - maybe it will evolve into pull request of source code. Here is the code which I used to spawn new Box Brush:
Honestly, it needs some tutorial or explanation in Documentation. Single SpawnBrush function SHOULD get you complete and usable object, not empty uninitialized actor. Also, SpawnActor function is used only 3 (three!) times in source code, according to GitHub.
hello, can you spawn a box brush? why did i can’t compile four line UCubeBulider must be a class or namespace name,seven line pointer to incomplete class type is not allowed…please help me …thanks