Hello friends:
I want to put many actors at a mesh surface (etc a ball or a plane), how to get the random location at the surface.
I am working on a feature similar to “procedue foliage” of unreal editor, but in runtime. Thanks !!!
If it’s for scattering stuff, then I think line traces on negative Z with random location could give that result. But depending on how many points you need each tick, it might not be the best for performance.
Use a line trace:
And now a bit more like foliage tool:
Place mesh is just the same as the mouse click event shown.