I am following the tutorial to use PCG to place meshes along a spline according to a grammar from here: Creating a Fence Generator Using Shape Grammar in Unreal Engine | Unreal Engine 5.6 Documentation | Epic Developer Community
However in my case I want to also place actors or level instances and not just static meshes. The tutorial uses the BoundsFromMesh
node to get the static mesh’s actual boundaries. However I am not sure how to adapt this more generally to actors / level instances because there are no other BoundsFromXYZ
type nodes. I found a GetBounds
node that seemed to mean something different.
Surely there is a way to get bounds from actors or level instances? Or is there a different technique to place actors/level instances according to actual size rather than hardcode it?
Any help would be most appreciated!