This can be done using the PCGPainter parameters of any PCGPainterActor:
Use the "BakeProjectedRootPoints" to re-project and re-baked root points on visible objects, scattered points will be recreated using the new root point positions.
Projection mode:
Two projection modes are available:
"Hit normal", the root points will be projected in a direction defined by the hit normal of the existing root points when there where drawn the first time.
"World Z", the root points will be projected using a top - down direction only.
Hit normal projection
World Z projection
RaycastLenghtMultiplier:
This parameter is used to create the projection lenght, it's defined using the brush strokes radius * RaycastLengthMultiplier.
Show trace debug:
If on, green lines will be displayed with the lenght and orientation of the projection on each root points.
Draw time:
The amount of time in second the debug projection lines will be displayed.
Bake root points on end stroke:
If ON, force to rebake the root points on each brush strokes "mouse release".