Spawning objects to landscape
Hey everyone, I have a tree that respawns after being cut down but the tree respawns up in the air. Does anyone know how to make it spawn onto the landscape, even if on a slant?? Also I was trying to set a delay after destroying the tree to spawn the actor again using spawn from class but the delay does not work at all. This has been annoying me all day.
Any help would be great!
asked Nov 12 '14 at 05:26 AM in Blueprint Scripting
if the original tree is in the right position, then before you destroy it, copy its transform into a variable that you can use when you want to respawn it. you probably need the variable to exist outside of the tree blueprint, so it doesn't get destroyed with the tree, so maybe you should make a separate blueprint called treeManager, that holds variables for all the trees.
answered Nov 12 '14 at 11:35 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here