Create Foliage in C++

Hi Bro.

I am the one that answered the question of the link that you mention.

I did a small example project about foliage creation with C ++, it’s really small indeed.

[Download][1]

The code is found in the LevelScriptor Class which is the base class of the Level Blueprint, yo can change to the new one in this window:

The problem was that I forgot to mention this Note:
you need add Foliage to the PublicDependencyModuleNames.AddRange (new string [] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “Foliage”} ); in YourProjec.Build.cs File.

Well this is the example. Enjoy it

Regards