I am creating the actors by calling construct object from a function called BeginPlay().
When I construct the actors I have some default properties set, these properties are set randomly, meanīng each time you construct them the outcome is different.
Once they are constructed and saved into an array. (they are not spawned yet). I carry out some tasks that rely on the random properties set by the objects constructor.
Then , when I am finished I want to spawn the actors into the world, how can I now spawn them without act of, re-constructing them?
heres the functions i used
https://docs.unrealengine.com/latest...t/2/index.html
then i used SpawnActorDeferred.
The problem is the actors constructor is still called and this changes the random properties.
When I construct the actors I have some default properties set, these properties are set randomly, meanīng each time you construct them the outcome is different.
Once they are constructed and saved into an array. (they are not spawned yet). I carry out some tasks that rely on the random properties set by the objects constructor.
Then , when I am finished I want to spawn the actors into the world, how can I now spawn them without act of, re-constructing them?
heres the functions i used
https://docs.unrealengine.com/latest...t/2/index.html
then i used SpawnActorDeferred.
The problem is the actors constructor is still called and this changes the random properties.
Comment