To play correct sound effects and misc animations depending in the physical material of the surface hit/stepped upon I add physical materials to the materials used in the world.
This works great on every surface except for landscapes, where I have trouble accessing the physical material (done via raytrace towards the surface -> FHitResult.PhysMaterial->SurfaceType).
Does anybody know why this is, or has any solution to the issue?
Thanks! I will check it out and report back with results
Edit: In the actor properties I can only add one material. The thing is that the landscape contains various materials (dirt, grass, rock) so I need multiple. Or did I misunderstand where you wanted me to go?