Hi There, so my project makes good progress but now I’m a little stuck.
I’ve generated a terrain within the construction script of blueprint “createMap” with only one Hierarchical Instanced Static Mesh called “Terrain6565”:
Now within a new blueprint “createTree” I want to generate trees in the very same way as I did with the tiles, however I need to know the height of the terrain for each x-y-position where a tree is due to be placed. I though about doing it with a Line Trace Component and use “Terrain6565” as target and I think this should return me the z-position of the terrain at any given x-y-point, however…
Well how do I get data of my Hierarchical Instanced Static Mesh called “Terrain6565” from within blueprint “createMap” into the new blueprint “createTree”, any ideas because I couldn’t find a clear answer myself so far?
Thanks for any Help!