Spawn in AO is a procedural spawner which takes occlusion into account meaning that it will only spawn in concave areas. Perfect for quickly spawning foliage or rubble!
Showcase.
Video walkthrough.
Documentation.
Using a volume you can choose whether to spawn instanced static meshes (HISM), persistent instanced static meshes (HISM), static mesh actors, custom actors or Niagara systems. Fine tune the tolerance of the spawner and adjust the size and resolution of the volume. Multiple placement adjustments can be made such as spread, slope, alignment, yaw and tilt.
Noteworthy and limitations:
- When dealing with non-flat objects such as roots or rocky terrain the spawner can give false-positives leading to unwanted meshes spawning. In this case you want to trace against your simple collision (by un-ticking "TraceComplexCollision") which should be mostly low poly.
Support:
Update history:
V3
- Added "DestroyTheseInstances" button to Persistent HISM actors.
- Fixed so that Persistent HISM actors spawn at correct location (was world origin before).
V2
- Added "CullDistance" for culling instances.
- Added "TargetPhysicsMaterial" which allows you to only spawn on and near the specified physics material.
- Added "StrictPhysicsMaterialSpawn?" which makes the spawner only spawn on the specified physics material.