Hi,
Can anyone please help as I am struggling with the PCG Generation.
-
I have C++ code for Dynamic Spline, and created Blueprint for Spline based on this code
-
I spawned the Blueprint Dynamic Spline in Game Mode Base in BeginPlay.
-
As the character moves then the spline will be added and updated with the points from the character position.
-
I added PCG Component to the Dynamic Spline and assigned a PCG Graph to this component.
-
Below is my PCG Graph nodes
-
I added some box meshes in Static Mesh Spawner, But they do not appear in the world/viewport when
PCGComponent->Generate(true)
is called during the runtime. but the PCG graph is being executed, I know as the print string is printing the debug text. -
I read in a post where they said to include BrushComponent, but how can i link this brush component to the PCG Component or PCG Graph. I tried to attach PCG Component to Brush component in C++ code, but it does not allow it.
Thanks,