Foliage without the use of SubLevels

I would like to be able to utilize foliage without the use of a sub level. I have been able to keep the foliage anchored, however, if I use the dynamic pawn with OriginShift Mode set to “Change Cesium Georeference” the trees move along with the camera. This appears to be due to its root component being static as opposed to movable. The FoliageInstancedStaticMeshComponent does have its mobility set to Movable, but I cannot update the RootComponent. Are there any workarounds for this?

I found that using “True Origin” for the CesiumGeoreference corrects this, but is there any way using the “Lon/Lat/Height” origin placement?

I’m fairly certain Instanced Static Meshes within unreal are unable to be moved by design. You would need to use regular static meshes instead as they can be moved at runtime, this will probably be less performant than with ISMs though

Hi @ILoveFlan,

@SimonLation 's answer is more informed than mine, so I would defer to them. (Thanks Simon!)

But just to confirm, do you have a CesiumGlobeAnchor component on the foliage? I wasn’t sure if “anchored” referred to that. :')

@janine Yes I was referring to the CesiumGlobeAnchor. Ty!

1 Like