#Swapping Foliage Actor Instances with Blueprints

1 messages · Page 1 of 1 (latest)

graceful tree
#

I've seen people use the instanced foliage actor instead of having a massive amount of blueprints to save memory but didn't how to do it myself. Until now 🙂 I don't know if my solution is elegant but it works fine as far as I can tell.
I have a map that holds references to blueprint classes for each mesh used in the foliage actor to swap instances with a specific blueprint and back.. also added a respawn/grow animation for 'removed' meshes (not really removed, just scaled down to 0). I might put this on github after some more testing