Appearance
When using PCG with Voxel Plugin, we strongly recommend:
- On any PCG graph:
- Setting
Use Hierarchical Generation
to true.- Note that PCG's spline sampling does not work well with Hierarchical Generation. Use Voxel Metadata instead.
- If using lots of volumetric shapes or running into point count errors, setting
Use 2DGrid
to false.
- Setting
- On any in-world graph actor:
- Setting
Generation Trigger
toGenerate at Runtime
. - Setting
Is Partitioned
to true.
- Setting
- On the PCG World Actor:
- Setting
Treat Editor Viewport as Generation Source
to true.
- Setting
- On your player character:
- Add a PCG Generation Source component.
- This lets the Hi-Gen system know where to generate points.
- Add a PCG Generation Source component.