To project PCG Spline Data to static Mesh ?

Is there any way in which we can project spline data to static mesh rather than input (Landscape) in PCG ? The problem I am that when we Spawn grass with the help of spline PCG on a landscape It can easily detect the surface and project on the exact surface but when we use the same method to static Mesh Surface then we have to manually place the spline on the surface on a static mesh to have perfectly grounded grass. Is there any way to do it?

This should help you :wink:

The short answer is to use the World Ray Hit Query node.

No. He means controlling the projection area on the mesh through the spline. As in, we don’t want to project on the whole mesh, but just on a part of it.
Or, another explanation: The spline is used to spawn stuff only in a certain well defined area on the landscape, right? Well, how can we apply the same concept, but on a mesh instead.
Or, is there a better way to achieve this?

did you solve your problem? faced similar and looking for solution…