PhysicalMaterials are lost when the level has been rebuilt.
I've assigned each surface on the ground a PhysicalMaterial (wood, grass, concrete and metal), so I can identify what the character is on when playing foot step sounds.
This works great, until the moment I build, after which everything becomes either wood or concrete. I thought maybe surfaces became one after building (Which seems very counter-productive) so I tried offsetting metal and wood on the Z axis by +1, but then grass becomes concrete, wood and concrete remains correct and metal becomes DefaultPhysicalMaterial.
Thanks again for the setup. I was able to see the issue here more easily, and I think the reason I wasn't able to get a clear repro earlier was because this is using BSP rather Than static meshes. The "DefaultPhysicalMaterial." To test the ability of the material I placed different colors on the bottom of the BSPs to see if it would read the color below as it appears to be doing with the default material. There could probably be some refinement here to get it to not look at the default material below like this, but I could I could not get any issues to occur with the materials I had previously made for testing or the ones you've included with static meshes. Even after adding the material on the other sides for the BSP I could not get it to read a default material or the wrong material.
answered Jul 29 '14 at 07:11 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here