Hi drone.ah,
Sorry for a long delay. I see what you are talking about now. For snapping spawned meshes to surface, you can try next:
- When ground is flat: Z-value is const. and it is possible to get it from first tap trace or from ground actor.
- Ground is landscape: I think the simplest way is to get Z-value from trace or you can retrieve it from height map (for example like here Accessing pixel values of Texture2D - Asset Creation - Epic Developer Community Forums)
Best regards,