Adding New PCG Spawned Items #
To add new PCG spawned items in the PCG spawner, you need to follow a few steps:
- Add a surface sampler and modify it to your liking.
- Create a subgraph for your specific meshes. You can copy most of the other subgraphs and adjust them as needed.
- Connect the subgraph to the merge node.
On the right side of the graph, drag out of the point node to get your points. Create a point filter with the name given in the subgraph. Then, use the density propagation to spawn the actors based on density.
This process ensures that your new items are integrated seamlessly into the PCG system, maintaining consistency and performance across your project.